<?php
/**
 * Created by PhpStorm.
 * User: junying.wei
 * Date: 18/08/05
 * Time: 下午2:09
 */
header('Content-Type: application/json');

require_once dirname ( __FILE__ ).DIRECTORY_SEPARATOR.'./../../AopSdk.php';
require_once dirname ( __FILE__ ).DIRECTORY_SEPARATOR.'./../entites/ApiParamModel.php';
require_once dirname ( __FILE__ ).DIRECTORY_SEPARATOR.'./../entites/ApiInfoModel.php';

$list = array();

        $alipayTradeFastpayRefundQueryInfoModel = new ApiInfoModel();
        
        $alipayTradeFastpayRefundQueryInfoModel->setApiName("alipay.trade.fastpay.refund.query");
        $alipayTradeFastpayRefundQueryInfoModel->setApiZhName("统一收单交易退款查询");
        $alipayTradeFastpayRefundQueryInfoModel->setInvokeType($alipayTradeFastpayRefundQueryInfoModel::$INVOKE_TYPE_REQUEST);
            // $alipayTradeFastpayRefundQueryApiInParamChilds[] = new ApiParamModel();
            $alipayTradeFastpayRefundQueryApiInParam_2 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiInParam_2->setBaseType($alipayTradeFastpayRefundQueryApiInParam_2::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiInParam_2->setTitle("请求退款接口时");
        $alipayTradeFastpayRefundQueryApiInParam_2->setDesc("传入的退款请求号，如果在退款请求时未传入，则该值为创建交易时的外部交易号");
        $alipayTradeFastpayRefundQueryApiInParam_2->setIsMust(1);
        $alipayTradeFastpayRefundQueryApiInParam_2->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiInParam_2->setFullParamName("outRequestNo");
        $alipayTradeFastpayRefundQueryApiInParam_2->setEnName("out_request_no");
        $alipayTradeFastpayRefundQueryApiInParam_2->setChilds("");
        $alipayTradeFastpayRefundQueryApiInParamChilds[] = json_decode($alipayTradeFastpayRefundQueryApiInParam_2->getBizContent());

        $alipayTradeFastpayRefundQueryApiInParam_0 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiInParam_0->setBaseType($alipayTradeFastpayRefundQueryApiInParam_0::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiInParam_0->setTitle("支付宝交易号");
        $alipayTradeFastpayRefundQueryApiInParam_0->setDesc("和商户订单号不能同时为空");
        $alipayTradeFastpayRefundQueryApiInParam_0->setIsMust(2);
        $alipayTradeFastpayRefundQueryApiInParam_0->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiInParam_0->setFullParamName("tradeNo");
        $alipayTradeFastpayRefundQueryApiInParam_0->setEnName("trade_no");
        $alipayTradeFastpayRefundQueryApiInParam_0->setChilds("");
        $alipayTradeFastpayRefundQueryApiInParamChilds[] = json_decode($alipayTradeFastpayRefundQueryApiInParam_0->getBizContent());

        $alipayTradeFastpayRefundQueryApiInParam_1 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiInParam_1->setBaseType($alipayTradeFastpayRefundQueryApiInParam_1::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiInParam_1->setTitle("订单支付时传入的商户订单号");
        $alipayTradeFastpayRefundQueryApiInParam_1->setDesc("和支付宝交易号不能同时为空。 trade_no,out_trade_no如果同时存在优先取trade_no");
        $alipayTradeFastpayRefundQueryApiInParam_1->setIsMust(2);
        $alipayTradeFastpayRefundQueryApiInParam_1->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiInParam_1->setFullParamName("outTradeNo");
        $alipayTradeFastpayRefundQueryApiInParam_1->setEnName("out_trade_no");
        $alipayTradeFastpayRefundQueryApiInParam_1->setChilds("");
        $alipayTradeFastpayRefundQueryApiInParamChilds[] = json_decode($alipayTradeFastpayRefundQueryApiInParam_1->getBizContent());

        $alipayTradeFastpayRefundQueryInfoModel->setApiInParam($alipayTradeFastpayRefundQueryApiInParamChilds);

        $alipayTradeFastpayRefundQueryApiOutParamChilds[] = new ApiParamModel();

            $alipayTradeFastpayRefundQueryApiOutParam_0 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_0->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_0::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_0->setTitle("支付宝交易号");
        $alipayTradeFastpayRefundQueryApiOutParam_0->setDesc("");
        $alipayTradeFastpayRefundQueryApiOutParam_0->setIsMust(2);
        $alipayTradeFastpayRefundQueryApiOutParam_0->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_0->setFullParamName("tradeNo");
        $alipayTradeFastpayRefundQueryApiOutParam_0->setEnName("trade_no");
        $alipayTradeFastpayRefundQueryApiOutParam_0->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParamChilds[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_0->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_1 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_1->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_1::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_1->setTitle("创建交易传入的商户订单号");
        $alipayTradeFastpayRefundQueryApiOutParam_1->setDesc("");
        $alipayTradeFastpayRefundQueryApiOutParam_1->setIsMust(2);
        $alipayTradeFastpayRefundQueryApiOutParam_1->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_1->setFullParamName("outTradeNo");
        $alipayTradeFastpayRefundQueryApiOutParam_1->setEnName("out_trade_no");
        $alipayTradeFastpayRefundQueryApiOutParam_1->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParamChilds[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_1->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_2 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_2->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_2::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_2->setTitle("本笔退款对应的退款请求号");
        $alipayTradeFastpayRefundQueryApiOutParam_2->setDesc("");
        $alipayTradeFastpayRefundQueryApiOutParam_2->setIsMust(2);
        $alipayTradeFastpayRefundQueryApiOutParam_2->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_2->setFullParamName("outRequestNo");
        $alipayTradeFastpayRefundQueryApiOutParam_2->setEnName("out_request_no");
        $alipayTradeFastpayRefundQueryApiOutParam_2->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParamChilds[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_2->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_3 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_3->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_3::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_3->setTitle("发起退款时");
        $alipayTradeFastpayRefundQueryApiOutParam_3->setDesc("传入的退款原因");
        $alipayTradeFastpayRefundQueryApiOutParam_3->setIsMust(2);
        $alipayTradeFastpayRefundQueryApiOutParam_3->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_3->setFullParamName("refundReason");
        $alipayTradeFastpayRefundQueryApiOutParam_3->setEnName("refund_reason");
        $alipayTradeFastpayRefundQueryApiOutParam_3->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParamChilds[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_3->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_4 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_4->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_4::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_4->setTitle("该笔退款所对应的交易的订单金额");
        $alipayTradeFastpayRefundQueryApiOutParam_4->setDesc("");
        $alipayTradeFastpayRefundQueryApiOutParam_4->setIsMust(2);
        $alipayTradeFastpayRefundQueryApiOutParam_4->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_4->setFullParamName("totalAmount");
        $alipayTradeFastpayRefundQueryApiOutParam_4->setEnName("total_amount");
        $alipayTradeFastpayRefundQueryApiOutParam_4->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParamChilds[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_4->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_5 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_5->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_5::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_5->setTitle("本次退款请求");
        $alipayTradeFastpayRefundQueryApiOutParam_5->setDesc("对应的退款金额");
        $alipayTradeFastpayRefundQueryApiOutParam_5->setIsMust(2);
        $alipayTradeFastpayRefundQueryApiOutParam_5->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_5->setFullParamName("refundAmount");
        $alipayTradeFastpayRefundQueryApiOutParam_5->setEnName("refund_amount");
        $alipayTradeFastpayRefundQueryApiOutParam_5->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParamChilds[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_5->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_6 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_6->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_6::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_6->setTitle("行业特殊信息（例如在医保卡支付退款中");
        $alipayTradeFastpayRefundQueryApiOutParam_6->setDesc("医保局向商户返回医疗信息）。");
        $alipayTradeFastpayRefundQueryApiOutParam_6->setIsMust(2);
        $alipayTradeFastpayRefundQueryApiOutParam_6->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_6->setFullParamName("industrySepcDetail");
        $alipayTradeFastpayRefundQueryApiOutParam_6->setEnName("industry_sepc_detail");
        $alipayTradeFastpayRefundQueryApiOutParam_6->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParamChilds[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_6->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_7 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_7->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_7::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_7->setTitle("只在使用异步退款接口情况下才返回该字段");
        $alipayTradeFastpayRefundQueryApiOutParam_7->setDesc("REFUND_PROCESSING 退款处理中；REFUND_SUCCESS 退款处理成功；REFUND_FAIL 退款失败;");
        $alipayTradeFastpayRefundQueryApiOutParam_7->setIsMust(2);
        $alipayTradeFastpayRefundQueryApiOutParam_7->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_7->setFullParamName("refundStatus");
        $alipayTradeFastpayRefundQueryApiOutParam_7->setEnName("refund_status");
        $alipayTradeFastpayRefundQueryApiOutParam_7->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParamChilds[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_7->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_8 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_8->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_8::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_8->setTitle("退款失败错误码");
        $alipayTradeFastpayRefundQueryApiOutParam_8->setDesc("只在使用异步退款接口情况下才会返回该字段");
        $alipayTradeFastpayRefundQueryApiOutParam_8->setIsMust(2);
        $alipayTradeFastpayRefundQueryApiOutParam_8->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_8->setFullParamName("errorCode");
        $alipayTradeFastpayRefundQueryApiOutParam_8->setEnName("error_code");
        $alipayTradeFastpayRefundQueryApiOutParam_8->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParamChilds[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_8->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_9 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_9->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_9::$TYPE_COMPLEXTYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_9->setTitle("退分账明细信息");
        $alipayTradeFastpayRefundQueryApiOutParam_9->setDesc("");
        $alipayTradeFastpayRefundQueryApiOutParam_9->setIsMust(2);
        $alipayTradeFastpayRefundQueryApiOutParam_9->setIsListType(true);
        $alipayTradeFastpayRefundQueryApiOutParam_9->setFullParamName("refundRoyaltys[0]");
        $alipayTradeFastpayRefundQueryApiOutParam_9->setEnName("refund_royaltys");
        $alipayTradeFastpayRefundQueryApiOutParam_9->setChilds("");
    
    // $alipayTradeFastpayRefundQueryApiOutParam_9Childs[] = new ApiParamModel();

            $alipayTradeFastpayRefundQueryApiOutParam_9_0 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_9_0->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_9_0::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_9_0->setTitle("退分润金额");
        $alipayTradeFastpayRefundQueryApiOutParam_9_0->setDesc("");
        $alipayTradeFastpayRefundQueryApiOutParam_9_0->setIsMust(1);
        $alipayTradeFastpayRefundQueryApiOutParam_9_0->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_9_0->setFullParamName("refundRoyaltys[0].refundAmount");
        $alipayTradeFastpayRefundQueryApiOutParam_9_0->setEnName("refund_amount");
        $alipayTradeFastpayRefundQueryApiOutParam_9_0->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParam_9Childs[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_9_0->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_9_1 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_9_1->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_9_1::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_9_1->setTitle("退分润结果码");
        $alipayTradeFastpayRefundQueryApiOutParam_9_1->setDesc("");
        $alipayTradeFastpayRefundQueryApiOutParam_9_1->setIsMust(1);
        $alipayTradeFastpayRefundQueryApiOutParam_9_1->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_9_1->setFullParamName("refundRoyaltys[0].resultCode");
        $alipayTradeFastpayRefundQueryApiOutParam_9_1->setEnName("result_code");
        $alipayTradeFastpayRefundQueryApiOutParam_9_1->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParam_9Childs[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_9_1->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_9_2 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_9_2->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_9_2::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_9_2->setTitle("转出人支付宝账号对应用户ID");
        $alipayTradeFastpayRefundQueryApiOutParam_9_2->setDesc("");
        $alipayTradeFastpayRefundQueryApiOutParam_9_2->setIsMust(3);
        $alipayTradeFastpayRefundQueryApiOutParam_9_2->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_9_2->setFullParamName("refundRoyaltys[0].transOut");
        $alipayTradeFastpayRefundQueryApiOutParam_9_2->setEnName("trans_out");
        $alipayTradeFastpayRefundQueryApiOutParam_9_2->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParam_9Childs[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_9_2->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_9_3 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_9_3->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_9_3::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_9_3->setTitle("转出人支付宝账号");
        $alipayTradeFastpayRefundQueryApiOutParam_9_3->setDesc("");
        $alipayTradeFastpayRefundQueryApiOutParam_9_3->setIsMust(3);
        $alipayTradeFastpayRefundQueryApiOutParam_9_3->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_9_3->setFullParamName("refundRoyaltys[0].transOutEmail");
        $alipayTradeFastpayRefundQueryApiOutParam_9_3->setEnName("trans_out_email");
        $alipayTradeFastpayRefundQueryApiOutParam_9_3->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParam_9Childs[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_9_3->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_9_4 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_9_4->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_9_4::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_9_4->setTitle("转入人支付宝账号对应用户ID");
        $alipayTradeFastpayRefundQueryApiOutParam_9_4->setDesc("");
        $alipayTradeFastpayRefundQueryApiOutParam_9_4->setIsMust(3);
        $alipayTradeFastpayRefundQueryApiOutParam_9_4->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_9_4->setFullParamName("refundRoyaltys[0].transIn");
        $alipayTradeFastpayRefundQueryApiOutParam_9_4->setEnName("trans_in");
        $alipayTradeFastpayRefundQueryApiOutParam_9_4->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParam_9Childs[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_9_4->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_9_5 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_9_5->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_9_5::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_9_5->setTitle("转入人支付宝账号");
        $alipayTradeFastpayRefundQueryApiOutParam_9_5->setDesc("");
        $alipayTradeFastpayRefundQueryApiOutParam_9_5->setIsMust(3);
        $alipayTradeFastpayRefundQueryApiOutParam_9_5->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_9_5->setFullParamName("refundRoyaltys[0].transInEmail");
        $alipayTradeFastpayRefundQueryApiOutParam_9_5->setEnName("trans_in_email");
        $alipayTradeFastpayRefundQueryApiOutParam_9_5->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParam_9Childs[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_9_5->getBizContent());

            $alipayTradeFastpayRefundQueryApiOutParam_9->setChilds($alipayTradeFastpayRefundQueryApiOutParam_9Childs);

        $alipayTradeFastpayRefundQueryApiOutParamChilds[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_9->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_10 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_10->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_10::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_10->setTitle("本次退款金额中买家退款金额");
        $alipayTradeFastpayRefundQueryApiOutParam_10->setDesc("");
        $alipayTradeFastpayRefundQueryApiOutParam_10->setIsMust(2);
        $alipayTradeFastpayRefundQueryApiOutParam_10->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_10->setFullParamName("presentRefundBuyerAmount");
        $alipayTradeFastpayRefundQueryApiOutParam_10->setEnName("present_refund_buyer_amount");
        $alipayTradeFastpayRefundQueryApiOutParam_10->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParamChilds[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_10->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_11 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_11->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_11::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_11->setTitle("本次退款金额中平台优惠退款金额");
        $alipayTradeFastpayRefundQueryApiOutParam_11->setDesc("");
        $alipayTradeFastpayRefundQueryApiOutParam_11->setIsMust(2);
        $alipayTradeFastpayRefundQueryApiOutParam_11->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_11->setFullParamName("presentRefundDiscountAmount");
        $alipayTradeFastpayRefundQueryApiOutParam_11->setEnName("present_refund_discount_amount");
        $alipayTradeFastpayRefundQueryApiOutParam_11->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParamChilds[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_11->getBizContent());

        $alipayTradeFastpayRefundQueryApiOutParam_12 = new ApiParamModel();
        $alipayTradeFastpayRefundQueryApiOutParam_12->setBaseType($alipayTradeFastpayRefundQueryApiOutParam_12::$TYPE_BASETYPE);
        $alipayTradeFastpayRefundQueryApiOutParam_12->setTitle("本次退款金额中商家优惠退款金额");
        $alipayTradeFastpayRefundQueryApiOutParam_12->setDesc("");
        $alipayTradeFastpayRefundQueryApiOutParam_12->setIsMust(2);
        $alipayTradeFastpayRefundQueryApiOutParam_12->setIsListType(false);
        $alipayTradeFastpayRefundQueryApiOutParam_12->setFullParamName("presentRefundMdiscountAmount");
        $alipayTradeFastpayRefundQueryApiOutParam_12->setEnName("present_refund_mdiscount_amount");
        $alipayTradeFastpayRefundQueryApiOutParam_12->setChilds("");
        $alipayTradeFastpayRefundQueryApiOutParamChilds[] = json_decode($alipayTradeFastpayRefundQueryApiOutParam_12->getBizContent());

        $alipayTradeFastpayRefundQueryInfoModel->setApiOutParam($alipayTradeFastpayRefundQueryApiOutParamChilds);

        $list[] = json_decode($alipayTradeFastpayRefundQueryInfoModel->getBizContent());
        $alipayTradeCloseInfoModel = new ApiInfoModel();
        
        $alipayTradeCloseInfoModel->setApiName("alipay.trade.close");
        $alipayTradeCloseInfoModel->setApiZhName("统一收单交易关闭接口");
        $alipayTradeCloseInfoModel->setInvokeType($alipayTradeCloseInfoModel::$INVOKE_TYPE_REQUEST);
            // $alipayTradeCloseApiInParamChilds[] = new ApiParamModel();
            $alipayTradeCloseApiInParam_2 = new ApiParamModel();
        $alipayTradeCloseApiInParam_2->setBaseType($alipayTradeCloseApiInParam_2::$TYPE_BASETYPE);
        $alipayTradeCloseApiInParam_2->setTitle("卖家端自定义的的操作员");
        $alipayTradeCloseApiInParam_2->setDesc("ID");
        $alipayTradeCloseApiInParam_2->setIsMust(3);
        $alipayTradeCloseApiInParam_2->setIsListType(false);
        $alipayTradeCloseApiInParam_2->setFullParamName("operatorId");
        $alipayTradeCloseApiInParam_2->setEnName("operator_id");
        $alipayTradeCloseApiInParam_2->setChilds("");
        $alipayTradeCloseApiInParamChilds[] = json_decode($alipayTradeCloseApiInParam_2->getBizContent());

        $alipayTradeCloseApiInParam_0 = new ApiParamModel();
        $alipayTradeCloseApiInParam_0->setBaseType($alipayTradeCloseApiInParam_0::$TYPE_BASETYPE);
        $alipayTradeCloseApiInParam_0->setTitle("该交易在支付宝系统中的交易流水号");
        $alipayTradeCloseApiInParam_0->setDesc("最短 16 位，最长 64 位。和out_trade_no不能同时为空，如果同时传了 out_trade_no和 trade_no，则以 trade_no为准。");
        $alipayTradeCloseApiInParam_0->setIsMust(2);
        $alipayTradeCloseApiInParam_0->setIsListType(false);
        $alipayTradeCloseApiInParam_0->setFullParamName("tradeNo");
        $alipayTradeCloseApiInParam_0->setEnName("trade_no");
        $alipayTradeCloseApiInParam_0->setChilds("");
        $alipayTradeCloseApiInParamChilds[] = json_decode($alipayTradeCloseApiInParam_0->getBizContent());

        $alipayTradeCloseApiInParam_1 = new ApiParamModel();
        $alipayTradeCloseApiInParam_1->setBaseType($alipayTradeCloseApiInParam_1::$TYPE_BASETYPE);
        $alipayTradeCloseApiInParam_1->setTitle("订单支付时传入的商户订单号");
        $alipayTradeCloseApiInParam_1->setDesc("和支付宝交易号不能同时为空。 trade_no,out_trade_no如果同时存在优先取trade_no");
        $alipayTradeCloseApiInParam_1->setIsMust(2);
        $alipayTradeCloseApiInParam_1->setIsListType(false);
        $alipayTradeCloseApiInParam_1->setFullParamName("outTradeNo");
        $alipayTradeCloseApiInParam_1->setEnName("out_trade_no");
        $alipayTradeCloseApiInParam_1->setChilds("");
        $alipayTradeCloseApiInParamChilds[] = json_decode($alipayTradeCloseApiInParam_1->getBizContent());

        $alipayTradeCloseInfoModel->setApiInParam($alipayTradeCloseApiInParamChilds);

        $alipayTradeCloseApiOutParamChilds[] = new ApiParamModel();

            $alipayTradeCloseApiOutParam_0 = new ApiParamModel();
        $alipayTradeCloseApiOutParam_0->setBaseType($alipayTradeCloseApiOutParam_0::$TYPE_BASETYPE);
        $alipayTradeCloseApiOutParam_0->setTitle("支付宝交易号");
        $alipayTradeCloseApiOutParam_0->setDesc("");
        $alipayTradeCloseApiOutParam_0->setIsMust(2);
        $alipayTradeCloseApiOutParam_0->setIsListType(false);
        $alipayTradeCloseApiOutParam_0->setFullParamName("tradeNo");
        $alipayTradeCloseApiOutParam_0->setEnName("trade_no");
        $alipayTradeCloseApiOutParam_0->setChilds("");
        $alipayTradeCloseApiOutParamChilds[] = json_decode($alipayTradeCloseApiOutParam_0->getBizContent());

        $alipayTradeCloseApiOutParam_1 = new ApiParamModel();
        $alipayTradeCloseApiOutParam_1->setBaseType($alipayTradeCloseApiOutParam_1::$TYPE_BASETYPE);
        $alipayTradeCloseApiOutParam_1->setTitle("创建交易传入的商户订单号");
        $alipayTradeCloseApiOutParam_1->setDesc("");
        $alipayTradeCloseApiOutParam_1->setIsMust(2);
        $alipayTradeCloseApiOutParam_1->setIsListType(false);
        $alipayTradeCloseApiOutParam_1->setFullParamName("outTradeNo");
        $alipayTradeCloseApiOutParam_1->setEnName("out_trade_no");
        $alipayTradeCloseApiOutParam_1->setChilds("");
        $alipayTradeCloseApiOutParamChilds[] = json_decode($alipayTradeCloseApiOutParam_1->getBizContent());

        $alipayTradeCloseInfoModel->setApiOutParam($alipayTradeCloseApiOutParamChilds);

        $list[] = json_decode($alipayTradeCloseInfoModel->getBizContent());
        $alipayTradeQueryInfoModel = new ApiInfoModel();
        
        $alipayTradeQueryInfoModel->setApiName("alipay.trade.query");
        $alipayTradeQueryInfoModel->setApiZhName("统一收单线下交易查询");
        $alipayTradeQueryInfoModel->setInvokeType($alipayTradeQueryInfoModel::$INVOKE_TYPE_REQUEST);
            // $alipayTradeQueryApiInParamChilds[] = new ApiParamModel();
            $alipayTradeQueryApiInParam_0 = new ApiParamModel();
        $alipayTradeQueryApiInParam_0->setBaseType($alipayTradeQueryApiInParam_0::$TYPE_BASETYPE);
        $alipayTradeQueryApiInParam_0->setTitle("订单支付时传入的商户订单号");
        $alipayTradeQueryApiInParam_0->setDesc("和支付宝交易号不能同时为空。  trade_no,out_trade_no如果同时存在优先取trade_no");
        $alipayTradeQueryApiInParam_0->setIsMust(2);
        $alipayTradeQueryApiInParam_0->setIsListType(false);
        $alipayTradeQueryApiInParam_0->setFullParamName("outTradeNo");
        $alipayTradeQueryApiInParam_0->setEnName("out_trade_no");
        $alipayTradeQueryApiInParam_0->setChilds("");
        $alipayTradeQueryApiInParamChilds[] = json_decode($alipayTradeQueryApiInParam_0->getBizContent());

        $alipayTradeQueryApiInParam_1 = new ApiParamModel();
        $alipayTradeQueryApiInParam_1->setBaseType($alipayTradeQueryApiInParam_1::$TYPE_BASETYPE);
        $alipayTradeQueryApiInParam_1->setTitle("支付宝交易号");
        $alipayTradeQueryApiInParam_1->setDesc("和商户订单号不能同时为空");
        $alipayTradeQueryApiInParam_1->setIsMust(2);
        $alipayTradeQueryApiInParam_1->setIsListType(false);
        $alipayTradeQueryApiInParam_1->setFullParamName("tradeNo");
        $alipayTradeQueryApiInParam_1->setEnName("trade_no");
        $alipayTradeQueryApiInParam_1->setChilds("");
        $alipayTradeQueryApiInParamChilds[] = json_decode($alipayTradeQueryApiInParam_1->getBizContent());

        $alipayTradeQueryInfoModel->setApiInParam($alipayTradeQueryApiInParamChilds);

        $alipayTradeQueryApiOutParamChilds[] = new ApiParamModel();

            $alipayTradeQueryApiOutParam_0 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_0->setBaseType($alipayTradeQueryApiOutParam_0::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_0->setTitle("支付宝交易号");
        $alipayTradeQueryApiOutParam_0->setDesc("");
        $alipayTradeQueryApiOutParam_0->setIsMust(1);
        $alipayTradeQueryApiOutParam_0->setIsListType(false);
        $alipayTradeQueryApiOutParam_0->setFullParamName("tradeNo");
        $alipayTradeQueryApiOutParam_0->setEnName("trade_no");
        $alipayTradeQueryApiOutParam_0->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_0->getBizContent());

        $alipayTradeQueryApiOutParam_1 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_1->setBaseType($alipayTradeQueryApiOutParam_1::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_1->setTitle("商家订单号");
        $alipayTradeQueryApiOutParam_1->setDesc("");
        $alipayTradeQueryApiOutParam_1->setIsMust(1);
        $alipayTradeQueryApiOutParam_1->setIsListType(false);
        $alipayTradeQueryApiOutParam_1->setFullParamName("outTradeNo");
        $alipayTradeQueryApiOutParam_1->setEnName("out_trade_no");
        $alipayTradeQueryApiOutParam_1->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_1->getBizContent());

        $alipayTradeQueryApiOutParam_3 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_3->setBaseType($alipayTradeQueryApiOutParam_3::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_3->setTitle("买家支付宝账号");
        $alipayTradeQueryApiOutParam_3->setDesc("");
        $alipayTradeQueryApiOutParam_3->setIsMust(1);
        $alipayTradeQueryApiOutParam_3->setIsListType(false);
        $alipayTradeQueryApiOutParam_3->setFullParamName("buyerLogonId");
        $alipayTradeQueryApiOutParam_3->setEnName("buyer_logon_id");
        $alipayTradeQueryApiOutParam_3->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_3->getBizContent());

        $alipayTradeQueryApiOutParam_4 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_4->setBaseType($alipayTradeQueryApiOutParam_4::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_4->setTitle("交易状态：WAIT_BUYER_PAY（交易创建");
        $alipayTradeQueryApiOutParam_4->setDesc("等待买家付款）、TRADE_CLOSED（未付款交易超时关闭，或支付完成后全额退款）、TRADE_SUCCESS（交易支付成功）、TRADE_FINISHED（交易结束，不可退款）");
        $alipayTradeQueryApiOutParam_4->setIsMust(1);
        $alipayTradeQueryApiOutParam_4->setIsListType(false);
        $alipayTradeQueryApiOutParam_4->setFullParamName("tradeStatus");
        $alipayTradeQueryApiOutParam_4->setEnName("trade_status");
        $alipayTradeQueryApiOutParam_4->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_4->getBizContent());

        $alipayTradeQueryApiOutParam_5 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_5->setBaseType($alipayTradeQueryApiOutParam_5::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_5->setTitle("交易的订单金额");
        $alipayTradeQueryApiOutParam_5->setDesc("单位为元，两位小数。该参数的值为支付时传入的total_amount");
        $alipayTradeQueryApiOutParam_5->setIsMust(1);
        $alipayTradeQueryApiOutParam_5->setIsListType(false);
        $alipayTradeQueryApiOutParam_5->setFullParamName("totalAmount");
        $alipayTradeQueryApiOutParam_5->setEnName("total_amount");
        $alipayTradeQueryApiOutParam_5->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_5->getBizContent());

        $alipayTradeQueryApiOutParam_21 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_21->setBaseType($alipayTradeQueryApiOutParam_21::$TYPE_COMPLEXTYPE);
        $alipayTradeQueryApiOutParam_21->setTitle("交易支付使用的资金渠道");
        $alipayTradeQueryApiOutParam_21->setDesc("");
        $alipayTradeQueryApiOutParam_21->setIsMust(1);
        $alipayTradeQueryApiOutParam_21->setIsListType(true);
        $alipayTradeQueryApiOutParam_21->setFullParamName("fundBillList[0]");
        $alipayTradeQueryApiOutParam_21->setEnName("fund_bill_list");
        $alipayTradeQueryApiOutParam_21->setChilds("");
    
    // $alipayTradeQueryApiOutParam_21Childs[] = new ApiParamModel();

            $alipayTradeQueryApiOutParam_21_0 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_21_0->setBaseType($alipayTradeQueryApiOutParam_21_0::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_21_0->setTitle("交易使用的资金渠道");
        $alipayTradeQueryApiOutParam_21_0->setDesc("详见 <a href=\"https://doc.open.alipay.com/doc2/detail?treeId=26&articleId=103259&docType=1\">支付渠道列表</a>");
        $alipayTradeQueryApiOutParam_21_0->setIsMust(1);
        $alipayTradeQueryApiOutParam_21_0->setIsListType(false);
        $alipayTradeQueryApiOutParam_21_0->setFullParamName("fundBillList[0].fundChannel");
        $alipayTradeQueryApiOutParam_21_0->setEnName("fund_channel");
        $alipayTradeQueryApiOutParam_21_0->setChilds("");
        $alipayTradeQueryApiOutParam_21Childs[] = json_decode($alipayTradeQueryApiOutParam_21_0->getBizContent());

        $alipayTradeQueryApiOutParam_21_1 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_21_1->setBaseType($alipayTradeQueryApiOutParam_21_1::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_21_1->setTitle("该支付工具类型所使用的金额");
        $alipayTradeQueryApiOutParam_21_1->setDesc("");
        $alipayTradeQueryApiOutParam_21_1->setIsMust(1);
        $alipayTradeQueryApiOutParam_21_1->setIsListType(false);
        $alipayTradeQueryApiOutParam_21_1->setFullParamName("fundBillList[0].amount");
        $alipayTradeQueryApiOutParam_21_1->setEnName("amount");
        $alipayTradeQueryApiOutParam_21_1->setChilds("");
        $alipayTradeQueryApiOutParam_21Childs[] = json_decode($alipayTradeQueryApiOutParam_21_1->getBizContent());

        $alipayTradeQueryApiOutParam_21_2 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_21_2->setBaseType($alipayTradeQueryApiOutParam_21_2::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_21_2->setTitle("渠道实际付款金额");
        $alipayTradeQueryApiOutParam_21_2->setDesc("");
        $alipayTradeQueryApiOutParam_21_2->setIsMust(3);
        $alipayTradeQueryApiOutParam_21_2->setIsListType(false);
        $alipayTradeQueryApiOutParam_21_2->setFullParamName("fundBillList[0].realAmount");
        $alipayTradeQueryApiOutParam_21_2->setEnName("real_amount");
        $alipayTradeQueryApiOutParam_21_2->setChilds("");
        $alipayTradeQueryApiOutParam_21Childs[] = json_decode($alipayTradeQueryApiOutParam_21_2->getBizContent());

        $alipayTradeQueryApiOutParam_21_3 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_21_3->setBaseType($alipayTradeQueryApiOutParam_21_3::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_21_3->setTitle("渠道所使用的资金类型");
        $alipayTradeQueryApiOutParam_21_3->setDesc("目前只在资金渠道(fund_channel)是银行卡渠道(BANKCARD)的情况下才返回该信息(DEBIT_CARD:借记卡,CREDIT_CARD:信用卡,MIXED_CARD:借贷合一卡)");
        $alipayTradeQueryApiOutParam_21_3->setIsMust(3);
        $alipayTradeQueryApiOutParam_21_3->setIsListType(false);
        $alipayTradeQueryApiOutParam_21_3->setFullParamName("fundBillList[0].fundType");
        $alipayTradeQueryApiOutParam_21_3->setEnName("fund_type");
        $alipayTradeQueryApiOutParam_21_3->setChilds("");
        $alipayTradeQueryApiOutParam_21Childs[] = json_decode($alipayTradeQueryApiOutParam_21_3->getBizContent());

            $alipayTradeQueryApiOutParam_21->setChilds($alipayTradeQueryApiOutParam_21Childs);

        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_21->getBizContent());

        $alipayTradeQueryApiOutParam_23 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_23->setBaseType($alipayTradeQueryApiOutParam_23::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_23->setTitle("买家在支付宝的用户id");
        $alipayTradeQueryApiOutParam_23->setDesc("");
        $alipayTradeQueryApiOutParam_23->setIsMust(1);
        $alipayTradeQueryApiOutParam_23->setIsListType(false);
        $alipayTradeQueryApiOutParam_23->setFullParamName("buyerUserId");
        $alipayTradeQueryApiOutParam_23->setEnName("buyer_user_id");
        $alipayTradeQueryApiOutParam_23->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_23->getBizContent());

        $alipayTradeQueryApiOutParam_24 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_24->setBaseType($alipayTradeQueryApiOutParam_24::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_24->setTitle("本次交易支付所使用的单品券优惠的商品优惠信息");
        $alipayTradeQueryApiOutParam_24->setDesc("");
        $alipayTradeQueryApiOutParam_24->setIsMust(1);
        $alipayTradeQueryApiOutParam_24->setIsListType(false);
        $alipayTradeQueryApiOutParam_24->setFullParamName("discountGoodsDetail");
        $alipayTradeQueryApiOutParam_24->setEnName("discount_goods_detail");
        $alipayTradeQueryApiOutParam_24->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_24->getBizContent());

        $alipayTradeQueryApiOutParam_2 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_2->setBaseType($alipayTradeQueryApiOutParam_2::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_2->setTitle("买家支付宝用户号");
        $alipayTradeQueryApiOutParam_2->setDesc("该字段将废弃，不要使用");
        $alipayTradeQueryApiOutParam_2->setIsMust(2);
        $alipayTradeQueryApiOutParam_2->setIsListType(false);
        $alipayTradeQueryApiOutParam_2->setFullParamName("openId");
        $alipayTradeQueryApiOutParam_2->setEnName("open_id");
        $alipayTradeQueryApiOutParam_2->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_2->getBizContent());

        $alipayTradeQueryApiOutParam_6 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_6->setBaseType($alipayTradeQueryApiOutParam_6::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_6->setTitle("标价币种");
        $alipayTradeQueryApiOutParam_6->setDesc("该参数的值为支付时传入的trans_currency，支持英镑：GBP、港币：HKD、美元：USD、新加坡元：SGD、日元：JPY、加拿大元：CAD、澳元：AUD、欧元：EUR、新西兰元：NZD、韩元：KRW、泰铢：THB、瑞士法郎：CHF、瑞典克朗：SEK、丹麦克朗：DKK、挪威克朗：NOK、马来西亚林吉特：MYR、印尼卢比：IDR、菲律宾比索：PHP、毛里求斯卢比：MUR、以色列新谢克尔：ILS、斯里兰卡卢比：LKR、俄罗斯卢布：RUB、阿联酋迪拉姆：AED、捷克克朗：CZK、南非兰特：ZAR、人民币：CNY、新台币：TWD。当trans_currency 和 settle_currency 不一致时，trans_currency支持人民币：CNY、新台币：TWD");
        $alipayTradeQueryApiOutParam_6->setIsMust(2);
        $alipayTradeQueryApiOutParam_6->setIsListType(false);
        $alipayTradeQueryApiOutParam_6->setFullParamName("transCurrency");
        $alipayTradeQueryApiOutParam_6->setEnName("trans_currency");
        $alipayTradeQueryApiOutParam_6->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_6->getBizContent());

        $alipayTradeQueryApiOutParam_7 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_7->setBaseType($alipayTradeQueryApiOutParam_7::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_7->setTitle("订单结算币种");
        $alipayTradeQueryApiOutParam_7->setDesc("对应支付接口传入的settle_currency，支持英镑：GBP、港币：HKD、美元：USD、新加坡元：SGD、日元：JPY、加拿大元：CAD、澳元：AUD、欧元：EUR、新西兰元：NZD、韩元：KRW、泰铢：THB、瑞士法郎：CHF、瑞典克朗：SEK、丹麦克朗：DKK、挪威克朗：NOK、马来西亚林吉特：MYR、印尼卢比：IDR、菲律宾比索：PHP、毛里求斯卢比：MUR、以色列新谢克尔：ILS、斯里兰卡卢比：LKR、俄罗斯卢布：RUB、阿联酋迪拉姆：AED、捷克克朗：CZK、南非兰特：ZAR");
        $alipayTradeQueryApiOutParam_7->setIsMust(2);
        $alipayTradeQueryApiOutParam_7->setIsListType(false);
        $alipayTradeQueryApiOutParam_7->setFullParamName("settleCurrency");
        $alipayTradeQueryApiOutParam_7->setEnName("settle_currency");
        $alipayTradeQueryApiOutParam_7->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_7->getBizContent());

        $alipayTradeQueryApiOutParam_8 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_8->setBaseType($alipayTradeQueryApiOutParam_8::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_8->setTitle("结算币种订单金额");
        $alipayTradeQueryApiOutParam_8->setDesc("");
        $alipayTradeQueryApiOutParam_8->setIsMust(2);
        $alipayTradeQueryApiOutParam_8->setIsListType(false);
        $alipayTradeQueryApiOutParam_8->setFullParamName("settleAmount");
        $alipayTradeQueryApiOutParam_8->setEnName("settle_amount");
        $alipayTradeQueryApiOutParam_8->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_8->getBizContent());

        $alipayTradeQueryApiOutParam_9 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_9->setBaseType($alipayTradeQueryApiOutParam_9::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_9->setTitle("订单支付币种");
        $alipayTradeQueryApiOutParam_9->setDesc("");
        $alipayTradeQueryApiOutParam_9->setIsMust(2);
        $alipayTradeQueryApiOutParam_9->setIsListType(false);
        $alipayTradeQueryApiOutParam_9->setFullParamName("payCurrency");
        $alipayTradeQueryApiOutParam_9->setEnName("pay_currency");
        $alipayTradeQueryApiOutParam_9->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_9->getBizContent());

        $alipayTradeQueryApiOutParam_10 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_10->setBaseType($alipayTradeQueryApiOutParam_10::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_10->setTitle("支付币种订单金额");
        $alipayTradeQueryApiOutParam_10->setDesc("");
        $alipayTradeQueryApiOutParam_10->setIsMust(2);
        $alipayTradeQueryApiOutParam_10->setIsListType(false);
        $alipayTradeQueryApiOutParam_10->setFullParamName("payAmount");
        $alipayTradeQueryApiOutParam_10->setEnName("pay_amount");
        $alipayTradeQueryApiOutParam_10->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_10->getBizContent());

        $alipayTradeQueryApiOutParam_11 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_11->setBaseType($alipayTradeQueryApiOutParam_11::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_11->setTitle("结算币种兑换标价币种汇率");
        $alipayTradeQueryApiOutParam_11->setDesc("");
        $alipayTradeQueryApiOutParam_11->setIsMust(2);
        $alipayTradeQueryApiOutParam_11->setIsListType(false);
        $alipayTradeQueryApiOutParam_11->setFullParamName("settleTransRate");
        $alipayTradeQueryApiOutParam_11->setEnName("settle_trans_rate");
        $alipayTradeQueryApiOutParam_11->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_11->getBizContent());

        $alipayTradeQueryApiOutParam_12 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_12->setBaseType($alipayTradeQueryApiOutParam_12::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_12->setTitle("标价币种兑换支付币种汇率");
        $alipayTradeQueryApiOutParam_12->setDesc("");
        $alipayTradeQueryApiOutParam_12->setIsMust(2);
        $alipayTradeQueryApiOutParam_12->setIsListType(false);
        $alipayTradeQueryApiOutParam_12->setFullParamName("transPayRate");
        $alipayTradeQueryApiOutParam_12->setEnName("trans_pay_rate");
        $alipayTradeQueryApiOutParam_12->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_12->getBizContent());

        $alipayTradeQueryApiOutParam_13 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_13->setBaseType($alipayTradeQueryApiOutParam_13::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_13->setTitle("买家实付金额");
        $alipayTradeQueryApiOutParam_13->setDesc("单位为元，两位小数。该金额代表该笔交易买家实际支付的金额，不包含商户折扣等金额");
        $alipayTradeQueryApiOutParam_13->setIsMust(2);
        $alipayTradeQueryApiOutParam_13->setIsListType(false);
        $alipayTradeQueryApiOutParam_13->setFullParamName("buyerPayAmount");
        $alipayTradeQueryApiOutParam_13->setEnName("buyer_pay_amount");
        $alipayTradeQueryApiOutParam_13->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_13->getBizContent());

        $alipayTradeQueryApiOutParam_14 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_14->setBaseType($alipayTradeQueryApiOutParam_14::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_14->setTitle("积分支付的金额");
        $alipayTradeQueryApiOutParam_14->setDesc("单位为元，两位小数。该金额代表该笔交易中用户使用积分支付的金额，比如集分宝或者支付宝实时优惠等");
        $alipayTradeQueryApiOutParam_14->setIsMust(2);
        $alipayTradeQueryApiOutParam_14->setIsListType(false);
        $alipayTradeQueryApiOutParam_14->setFullParamName("pointAmount");
        $alipayTradeQueryApiOutParam_14->setEnName("point_amount");
        $alipayTradeQueryApiOutParam_14->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_14->getBizContent());

        $alipayTradeQueryApiOutParam_15 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_15->setBaseType($alipayTradeQueryApiOutParam_15::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_15->setTitle("交易中用户支付的可开具发票的金额");
        $alipayTradeQueryApiOutParam_15->setDesc("单位为元，两位小数。该金额代表该笔交易中可以给用户开具发票的金额");
        $alipayTradeQueryApiOutParam_15->setIsMust(2);
        $alipayTradeQueryApiOutParam_15->setIsListType(false);
        $alipayTradeQueryApiOutParam_15->setFullParamName("invoiceAmount");
        $alipayTradeQueryApiOutParam_15->setEnName("invoice_amount");
        $alipayTradeQueryApiOutParam_15->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_15->getBizContent());

        $alipayTradeQueryApiOutParam_16 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_16->setBaseType($alipayTradeQueryApiOutParam_16::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_16->setTitle("本次交易打款给卖家的时间");
        $alipayTradeQueryApiOutParam_16->setDesc("");
        $alipayTradeQueryApiOutParam_16->setIsMust(2);
        $alipayTradeQueryApiOutParam_16->setIsListType(false);
        $alipayTradeQueryApiOutParam_16->setFullParamName("sendPayDate");
        $alipayTradeQueryApiOutParam_16->setEnName("send_pay_date");
        $alipayTradeQueryApiOutParam_16->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_16->getBizContent());

        $alipayTradeQueryApiOutParam_17 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_17->setBaseType($alipayTradeQueryApiOutParam_17::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_17->setTitle("支付宝店铺编号");
        $alipayTradeQueryApiOutParam_17->setDesc("");
        $alipayTradeQueryApiOutParam_17->setIsMust(2);
        $alipayTradeQueryApiOutParam_17->setIsListType(false);
        $alipayTradeQueryApiOutParam_17->setFullParamName("alipayStoreId");
        $alipayTradeQueryApiOutParam_17->setEnName("alipay_store_id");
        $alipayTradeQueryApiOutParam_17->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_17->getBizContent());

        $alipayTradeQueryApiOutParam_18 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_18->setBaseType($alipayTradeQueryApiOutParam_18::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_18->setTitle("实收金额");
        $alipayTradeQueryApiOutParam_18->setDesc("单位为元，两位小数。该金额为本笔交易，商户账户能够实际收到的金额");
        $alipayTradeQueryApiOutParam_18->setIsMust(2);
        $alipayTradeQueryApiOutParam_18->setIsListType(false);
        $alipayTradeQueryApiOutParam_18->setFullParamName("receiptAmount");
        $alipayTradeQueryApiOutParam_18->setEnName("receipt_amount");
        $alipayTradeQueryApiOutParam_18->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_18->getBizContent());

        $alipayTradeQueryApiOutParam_19 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_19->setBaseType($alipayTradeQueryApiOutParam_19::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_19->setTitle("商户门店编号");
        $alipayTradeQueryApiOutParam_19->setDesc("");
        $alipayTradeQueryApiOutParam_19->setIsMust(2);
        $alipayTradeQueryApiOutParam_19->setIsListType(false);
        $alipayTradeQueryApiOutParam_19->setFullParamName("storeId");
        $alipayTradeQueryApiOutParam_19->setEnName("store_id");
        $alipayTradeQueryApiOutParam_19->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_19->getBizContent());

        $alipayTradeQueryApiOutParam_20 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_20->setBaseType($alipayTradeQueryApiOutParam_20::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_20->setTitle("商户机具终端编号");
        $alipayTradeQueryApiOutParam_20->setDesc("");
        $alipayTradeQueryApiOutParam_20->setIsMust(2);
        $alipayTradeQueryApiOutParam_20->setIsListType(false);
        $alipayTradeQueryApiOutParam_20->setFullParamName("terminalId");
        $alipayTradeQueryApiOutParam_20->setEnName("terminal_id");
        $alipayTradeQueryApiOutParam_20->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_20->getBizContent());

        $alipayTradeQueryApiOutParam_22 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_22->setBaseType($alipayTradeQueryApiOutParam_22::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_22->setTitle("请求交易支付中的商户店铺的名称");
        $alipayTradeQueryApiOutParam_22->setDesc("");
        $alipayTradeQueryApiOutParam_22->setIsMust(2);
        $alipayTradeQueryApiOutParam_22->setIsListType(false);
        $alipayTradeQueryApiOutParam_22->setFullParamName("storeName");
        $alipayTradeQueryApiOutParam_22->setEnName("store_name");
        $alipayTradeQueryApiOutParam_22->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_22->getBizContent());

        $alipayTradeQueryApiOutParam_25 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_25->setBaseType($alipayTradeQueryApiOutParam_25::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_25->setTitle("行业特殊信息（例如在医保卡支付业务中");
        $alipayTradeQueryApiOutParam_25->setDesc("向用户返回医疗信息）。");
        $alipayTradeQueryApiOutParam_25->setIsMust(2);
        $alipayTradeQueryApiOutParam_25->setIsListType(false);
        $alipayTradeQueryApiOutParam_25->setFullParamName("industrySepcDetail");
        $alipayTradeQueryApiOutParam_25->setEnName("industry_sepc_detail");
        $alipayTradeQueryApiOutParam_25->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_25->getBizContent());

        $alipayTradeQueryApiOutParam_26 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_26->setBaseType($alipayTradeQueryApiOutParam_26::$TYPE_COMPLEXTYPE);
        $alipayTradeQueryApiOutParam_26->setTitle("本交易支付时使用的所有优惠券信息");
        $alipayTradeQueryApiOutParam_26->setDesc("");
        $alipayTradeQueryApiOutParam_26->setIsMust(2);
        $alipayTradeQueryApiOutParam_26->setIsListType(true);
        $alipayTradeQueryApiOutParam_26->setFullParamName("voucherDetailList[0]");
        $alipayTradeQueryApiOutParam_26->setEnName("voucher_detail_list");
        $alipayTradeQueryApiOutParam_26->setChilds("");
    
    // $alipayTradeQueryApiOutParam_26Childs[] = new ApiParamModel();

            $alipayTradeQueryApiOutParam_26_0 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_26_0->setBaseType($alipayTradeQueryApiOutParam_26_0::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_26_0->setTitle("券id");
        $alipayTradeQueryApiOutParam_26_0->setDesc("");
        $alipayTradeQueryApiOutParam_26_0->setIsMust(1);
        $alipayTradeQueryApiOutParam_26_0->setIsListType(false);
        $alipayTradeQueryApiOutParam_26_0->setFullParamName("voucherDetailList[0].id");
        $alipayTradeQueryApiOutParam_26_0->setEnName("id");
        $alipayTradeQueryApiOutParam_26_0->setChilds("");
        $alipayTradeQueryApiOutParam_26Childs[] = json_decode($alipayTradeQueryApiOutParam_26_0->getBizContent());

        $alipayTradeQueryApiOutParam_26_1 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_26_1->setBaseType($alipayTradeQueryApiOutParam_26_1::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_26_1->setTitle("券名称");
        $alipayTradeQueryApiOutParam_26_1->setDesc("");
        $alipayTradeQueryApiOutParam_26_1->setIsMust(1);
        $alipayTradeQueryApiOutParam_26_1->setIsListType(false);
        $alipayTradeQueryApiOutParam_26_1->setFullParamName("voucherDetailList[0].name");
        $alipayTradeQueryApiOutParam_26_1->setEnName("name");
        $alipayTradeQueryApiOutParam_26_1->setChilds("");
        $alipayTradeQueryApiOutParam_26Childs[] = json_decode($alipayTradeQueryApiOutParam_26_1->getBizContent());

        $alipayTradeQueryApiOutParam_26_2 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_26_2->setBaseType($alipayTradeQueryApiOutParam_26_2::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_26_2->setTitle("当前有三种类型：");
        $alipayTradeQueryApiOutParam_26_2->setDesc(" ALIPAY_FIX_VOUCHER - 全场代金券  ALIPAY_DISCOUNT_VOUCHER - 折扣券  ALIPAY_ITEM_VOUCHER - 单品优惠  注：不排除将来新增其他类型的可能，商家接入时注意兼容性避免硬编码");
        $alipayTradeQueryApiOutParam_26_2->setIsMust(1);
        $alipayTradeQueryApiOutParam_26_2->setIsListType(false);
        $alipayTradeQueryApiOutParam_26_2->setFullParamName("voucherDetailList[0].type");
        $alipayTradeQueryApiOutParam_26_2->setEnName("type");
        $alipayTradeQueryApiOutParam_26_2->setChilds("");
        $alipayTradeQueryApiOutParam_26Childs[] = json_decode($alipayTradeQueryApiOutParam_26_2->getBizContent());

        $alipayTradeQueryApiOutParam_26_3 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_26_3->setBaseType($alipayTradeQueryApiOutParam_26_3::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_26_3->setTitle("优惠券面额");
        $alipayTradeQueryApiOutParam_26_3->setDesc("它应该会等于商家出资加上其他出资方出资");
        $alipayTradeQueryApiOutParam_26_3->setIsMust(1);
        $alipayTradeQueryApiOutParam_26_3->setIsListType(false);
        $alipayTradeQueryApiOutParam_26_3->setFullParamName("voucherDetailList[0].amount");
        $alipayTradeQueryApiOutParam_26_3->setEnName("amount");
        $alipayTradeQueryApiOutParam_26_3->setChilds("");
        $alipayTradeQueryApiOutParam_26Childs[] = json_decode($alipayTradeQueryApiOutParam_26_3->getBizContent());

        $alipayTradeQueryApiOutParam_26_4 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_26_4->setBaseType($alipayTradeQueryApiOutParam_26_4::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_26_4->setTitle("商家出资（特指发起交易的商家出资金额）");
        $alipayTradeQueryApiOutParam_26_4->setDesc("");
        $alipayTradeQueryApiOutParam_26_4->setIsMust(3);
        $alipayTradeQueryApiOutParam_26_4->setIsListType(false);
        $alipayTradeQueryApiOutParam_26_4->setFullParamName("voucherDetailList[0].merchantContribute");
        $alipayTradeQueryApiOutParam_26_4->setEnName("merchant_contribute");
        $alipayTradeQueryApiOutParam_26_4->setChilds("");
        $alipayTradeQueryApiOutParam_26Childs[] = json_decode($alipayTradeQueryApiOutParam_26_4->getBizContent());

        $alipayTradeQueryApiOutParam_26_5 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_26_5->setBaseType($alipayTradeQueryApiOutParam_26_5::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_26_5->setTitle("其他出资方出资金额");
        $alipayTradeQueryApiOutParam_26_5->setDesc("可能是支付宝，可能是品牌商，或者其他方，也可能是他们的一起出资");
        $alipayTradeQueryApiOutParam_26_5->setIsMust(3);
        $alipayTradeQueryApiOutParam_26_5->setIsListType(false);
        $alipayTradeQueryApiOutParam_26_5->setFullParamName("voucherDetailList[0].otherContribute");
        $alipayTradeQueryApiOutParam_26_5->setEnName("other_contribute");
        $alipayTradeQueryApiOutParam_26_5->setChilds("");
        $alipayTradeQueryApiOutParam_26Childs[] = json_decode($alipayTradeQueryApiOutParam_26_5->getBizContent());

        $alipayTradeQueryApiOutParam_26_6 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_26_6->setBaseType($alipayTradeQueryApiOutParam_26_6::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_26_6->setTitle("优惠券备注信息");
        $alipayTradeQueryApiOutParam_26_6->setDesc("");
        $alipayTradeQueryApiOutParam_26_6->setIsMust(3);
        $alipayTradeQueryApiOutParam_26_6->setIsListType(false);
        $alipayTradeQueryApiOutParam_26_6->setFullParamName("voucherDetailList[0].memo");
        $alipayTradeQueryApiOutParam_26_6->setEnName("memo");
        $alipayTradeQueryApiOutParam_26_6->setChilds("");
        $alipayTradeQueryApiOutParam_26Childs[] = json_decode($alipayTradeQueryApiOutParam_26_6->getBizContent());

        $alipayTradeQueryApiOutParam_26_7 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_26_7->setBaseType($alipayTradeQueryApiOutParam_26_7::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_26_7->setTitle("券模板id");
        $alipayTradeQueryApiOutParam_26_7->setDesc("");
        $alipayTradeQueryApiOutParam_26_7->setIsMust(3);
        $alipayTradeQueryApiOutParam_26_7->setIsListType(false);
        $alipayTradeQueryApiOutParam_26_7->setFullParamName("voucherDetailList[0].templateId");
        $alipayTradeQueryApiOutParam_26_7->setEnName("template_id");
        $alipayTradeQueryApiOutParam_26_7->setChilds("");
        $alipayTradeQueryApiOutParam_26Childs[] = json_decode($alipayTradeQueryApiOutParam_26_7->getBizContent());

        $alipayTradeQueryApiOutParam_26_8 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_26_8->setBaseType($alipayTradeQueryApiOutParam_26_8::$TYPE_COMPLEXTYPE);
        $alipayTradeQueryApiOutParam_26_8->setTitle("优惠券的其他出资方明细");
        $alipayTradeQueryApiOutParam_26_8->setDesc("");
        $alipayTradeQueryApiOutParam_26_8->setIsMust(3);
        $alipayTradeQueryApiOutParam_26_8->setIsListType(true);
        $alipayTradeQueryApiOutParam_26_8->setFullParamName("voucherDetailList[0].otherContributeDetail[0]");
        $alipayTradeQueryApiOutParam_26_8->setEnName("other_contribute_detail");
        $alipayTradeQueryApiOutParam_26_8->setChilds("");
    
    // $alipayTradeQueryApiOutParam_26_8Childs[] = new ApiParamModel();

            $alipayTradeQueryApiOutParam_26_8_0 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_26_8_0->setBaseType($alipayTradeQueryApiOutParam_26_8_0::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_26_8_0->setTitle("出资方类型");
        $alipayTradeQueryApiOutParam_26_8_0->setDesc("如品牌商出资、支付宝平台出资等");
        $alipayTradeQueryApiOutParam_26_8_0->setIsMust(1);
        $alipayTradeQueryApiOutParam_26_8_0->setIsListType(false);
        $alipayTradeQueryApiOutParam_26_8_0->setFullParamName("voucherDetailList[0].otherContributeDetail[0].contributeType");
        $alipayTradeQueryApiOutParam_26_8_0->setEnName("contribute_type");
        $alipayTradeQueryApiOutParam_26_8_0->setChilds("");
        $alipayTradeQueryApiOutParam_26_8Childs[] = json_decode($alipayTradeQueryApiOutParam_26_8_0->getBizContent());

        $alipayTradeQueryApiOutParam_26_8_1 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_26_8_1->setBaseType($alipayTradeQueryApiOutParam_26_8_1::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_26_8_1->setTitle("出资方金额");
        $alipayTradeQueryApiOutParam_26_8_1->setDesc("");
        $alipayTradeQueryApiOutParam_26_8_1->setIsMust(1);
        $alipayTradeQueryApiOutParam_26_8_1->setIsListType(false);
        $alipayTradeQueryApiOutParam_26_8_1->setFullParamName("voucherDetailList[0].otherContributeDetail[0].contributeAmount");
        $alipayTradeQueryApiOutParam_26_8_1->setEnName("contribute_amount");
        $alipayTradeQueryApiOutParam_26_8_1->setChilds("");
        $alipayTradeQueryApiOutParam_26_8Childs[] = json_decode($alipayTradeQueryApiOutParam_26_8_1->getBizContent());

            $alipayTradeQueryApiOutParam_26_8->setChilds($alipayTradeQueryApiOutParam_26_8Childs);

        $alipayTradeQueryApiOutParam_26Childs[] = json_decode($alipayTradeQueryApiOutParam_26_8->getBizContent());

        $alipayTradeQueryApiOutParam_26_9 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_26_9->setBaseType($alipayTradeQueryApiOutParam_26_9::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_26_9->setTitle("如果使用的这张券是用户购买的");
        $alipayTradeQueryApiOutParam_26_9->setDesc("则该字段代表用户在购买这张券时用户实际付款的金额");
        $alipayTradeQueryApiOutParam_26_9->setIsMust(3);
        $alipayTradeQueryApiOutParam_26_9->setIsListType(false);
        $alipayTradeQueryApiOutParam_26_9->setFullParamName("voucherDetailList[0].purchaseBuyerContribute");
        $alipayTradeQueryApiOutParam_26_9->setEnName("purchase_buyer_contribute");
        $alipayTradeQueryApiOutParam_26_9->setChilds("");
        $alipayTradeQueryApiOutParam_26Childs[] = json_decode($alipayTradeQueryApiOutParam_26_9->getBizContent());

        $alipayTradeQueryApiOutParam_26_10 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_26_10->setBaseType($alipayTradeQueryApiOutParam_26_10::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_26_10->setTitle("如果使用的这张券是用户购买的");
        $alipayTradeQueryApiOutParam_26_10->setDesc("则该字段代表用户在购买这张券时商户优惠的金额");
        $alipayTradeQueryApiOutParam_26_10->setIsMust(3);
        $alipayTradeQueryApiOutParam_26_10->setIsListType(false);
        $alipayTradeQueryApiOutParam_26_10->setFullParamName("voucherDetailList[0].purchaseMerchantContribute");
        $alipayTradeQueryApiOutParam_26_10->setEnName("purchase_merchant_contribute");
        $alipayTradeQueryApiOutParam_26_10->setChilds("");
        $alipayTradeQueryApiOutParam_26Childs[] = json_decode($alipayTradeQueryApiOutParam_26_10->getBizContent());

        $alipayTradeQueryApiOutParam_26_11 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_26_11->setBaseType($alipayTradeQueryApiOutParam_26_11::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_26_11->setTitle("如果使用的这张券是用户购买的");
        $alipayTradeQueryApiOutParam_26_11->setDesc("则该字段代表用户在购买这张券时平台优惠的金额");
        $alipayTradeQueryApiOutParam_26_11->setIsMust(3);
        $alipayTradeQueryApiOutParam_26_11->setIsListType(false);
        $alipayTradeQueryApiOutParam_26_11->setFullParamName("voucherDetailList[0].purchaseAntContribute");
        $alipayTradeQueryApiOutParam_26_11->setEnName("purchase_ant_contribute");
        $alipayTradeQueryApiOutParam_26_11->setChilds("");
        $alipayTradeQueryApiOutParam_26Childs[] = json_decode($alipayTradeQueryApiOutParam_26_11->getBizContent());

            $alipayTradeQueryApiOutParam_26->setChilds($alipayTradeQueryApiOutParam_26Childs);

        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_26->getBizContent());

        $alipayTradeQueryApiOutParam_27 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_27->setBaseType($alipayTradeQueryApiOutParam_27::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_27->setTitle("预授权支付模式");
        $alipayTradeQueryApiOutParam_27->setDesc("该参数仅在信用预授权支付场景下返回。信用预授权支付：CREDIT_PREAUTH_PAY");
        $alipayTradeQueryApiOutParam_27->setIsMust(2);
        $alipayTradeQueryApiOutParam_27->setIsListType(false);
        $alipayTradeQueryApiOutParam_27->setFullParamName("authTradePayMode");
        $alipayTradeQueryApiOutParam_27->setEnName("auth_trade_pay_mode");
        $alipayTradeQueryApiOutParam_27->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_27->getBizContent());

        $alipayTradeQueryApiOutParam_28 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_28->setBaseType($alipayTradeQueryApiOutParam_28::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_28->setTitle("买家用户类型");
        $alipayTradeQueryApiOutParam_28->setDesc("CORPORATE:企业用户；PRIVATE:个人用户。");
        $alipayTradeQueryApiOutParam_28->setIsMust(2);
        $alipayTradeQueryApiOutParam_28->setIsListType(false);
        $alipayTradeQueryApiOutParam_28->setFullParamName("buyerUserType");
        $alipayTradeQueryApiOutParam_28->setEnName("buyer_user_type");
        $alipayTradeQueryApiOutParam_28->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_28->getBizContent());

        $alipayTradeQueryApiOutParam_29 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_29->setBaseType($alipayTradeQueryApiOutParam_29::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_29->setTitle("商家优惠金额");
        $alipayTradeQueryApiOutParam_29->setDesc("");
        $alipayTradeQueryApiOutParam_29->setIsMust(2);
        $alipayTradeQueryApiOutParam_29->setIsListType(false);
        $alipayTradeQueryApiOutParam_29->setFullParamName("mdiscountAmount");
        $alipayTradeQueryApiOutParam_29->setEnName("mdiscount_amount");
        $alipayTradeQueryApiOutParam_29->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_29->getBizContent());

        $alipayTradeQueryApiOutParam_30 = new ApiParamModel();
        $alipayTradeQueryApiOutParam_30->setBaseType($alipayTradeQueryApiOutParam_30::$TYPE_BASETYPE);
        $alipayTradeQueryApiOutParam_30->setTitle("平台优惠金额");
        $alipayTradeQueryApiOutParam_30->setDesc("");
        $alipayTradeQueryApiOutParam_30->setIsMust(2);
        $alipayTradeQueryApiOutParam_30->setIsListType(false);
        $alipayTradeQueryApiOutParam_30->setFullParamName("discountAmount");
        $alipayTradeQueryApiOutParam_30->setEnName("discount_amount");
        $alipayTradeQueryApiOutParam_30->setChilds("");
        $alipayTradeQueryApiOutParamChilds[] = json_decode($alipayTradeQueryApiOutParam_30->getBizContent());

        $alipayTradeQueryInfoModel->setApiOutParam($alipayTradeQueryApiOutParamChilds);

        $list[] = json_decode($alipayTradeQueryInfoModel->getBizContent());
        $alipayTradeRefundInfoModel = new ApiInfoModel();
        
        $alipayTradeRefundInfoModel->setApiName("alipay.trade.refund");
        $alipayTradeRefundInfoModel->setApiZhName("统一收单交易退款接口");
        $alipayTradeRefundInfoModel->setInvokeType($alipayTradeRefundInfoModel::$INVOKE_TYPE_REQUEST);
            // $alipayTradeRefundApiInParamChilds[] = new ApiParamModel();
            $alipayTradeRefundApiInParam_2 = new ApiParamModel();
        $alipayTradeRefundApiInParam_2->setBaseType($alipayTradeRefundApiInParam_2::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_2->setTitle("需要退款的金额");
        $alipayTradeRefundApiInParam_2->setDesc("该金额不能大于订单金额,单位为元，支持两位小数");
        $alipayTradeRefundApiInParam_2->setIsMust(1);
        $alipayTradeRefundApiInParam_2->setIsListType(false);
        $alipayTradeRefundApiInParam_2->setFullParamName("refundAmount");
        $alipayTradeRefundApiInParam_2->setEnName("refund_amount");
        $alipayTradeRefundApiInParam_2->setChilds("");
        $alipayTradeRefundApiInParamChilds[] = json_decode($alipayTradeRefundApiInParam_2->getBizContent());

        $alipayTradeRefundApiInParam_3 = new ApiParamModel();
        $alipayTradeRefundApiInParam_3->setBaseType($alipayTradeRefundApiInParam_3::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_3->setTitle("订单退款币种信息");
        $alipayTradeRefundApiInParam_3->setDesc("");
        $alipayTradeRefundApiInParam_3->setIsMust(3);
        $alipayTradeRefundApiInParam_3->setIsListType(false);
        $alipayTradeRefundApiInParam_3->setFullParamName("refundCurrency");
        $alipayTradeRefundApiInParam_3->setEnName("refund_currency");
        $alipayTradeRefundApiInParam_3->setChilds("");
        $alipayTradeRefundApiInParamChilds[] = json_decode($alipayTradeRefundApiInParam_3->getBizContent());

        $alipayTradeRefundApiInParam_4 = new ApiParamModel();
        $alipayTradeRefundApiInParam_4->setBaseType($alipayTradeRefundApiInParam_4::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_4->setTitle("退款的原因说明");
        $alipayTradeRefundApiInParam_4->setDesc("");
        $alipayTradeRefundApiInParam_4->setIsMust(3);
        $alipayTradeRefundApiInParam_4->setIsListType(false);
        $alipayTradeRefundApiInParam_4->setFullParamName("refundReason");
        $alipayTradeRefundApiInParam_4->setEnName("refund_reason");
        $alipayTradeRefundApiInParam_4->setChilds("");
        $alipayTradeRefundApiInParamChilds[] = json_decode($alipayTradeRefundApiInParam_4->getBizContent());

        $alipayTradeRefundApiInParam_5 = new ApiParamModel();
        $alipayTradeRefundApiInParam_5->setBaseType($alipayTradeRefundApiInParam_5::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_5->setTitle("标识一次退款请求");
        $alipayTradeRefundApiInParam_5->setDesc("同一笔交易多次退款需要保证唯一，如需部分退款，则此参数必传。");
        $alipayTradeRefundApiInParam_5->setIsMust(3);
        $alipayTradeRefundApiInParam_5->setIsListType(false);
        $alipayTradeRefundApiInParam_5->setFullParamName("outRequestNo");
        $alipayTradeRefundApiInParam_5->setEnName("out_request_no");
        $alipayTradeRefundApiInParam_5->setChilds("");
        $alipayTradeRefundApiInParamChilds[] = json_decode($alipayTradeRefundApiInParam_5->getBizContent());

        $alipayTradeRefundApiInParam_6 = new ApiParamModel();
        $alipayTradeRefundApiInParam_6->setBaseType($alipayTradeRefundApiInParam_6::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_6->setTitle("商户的操作员编号");
        $alipayTradeRefundApiInParam_6->setDesc("");
        $alipayTradeRefundApiInParam_6->setIsMust(3);
        $alipayTradeRefundApiInParam_6->setIsListType(false);
        $alipayTradeRefundApiInParam_6->setFullParamName("operatorId");
        $alipayTradeRefundApiInParam_6->setEnName("operator_id");
        $alipayTradeRefundApiInParam_6->setChilds("");
        $alipayTradeRefundApiInParamChilds[] = json_decode($alipayTradeRefundApiInParam_6->getBizContent());

        $alipayTradeRefundApiInParam_7 = new ApiParamModel();
        $alipayTradeRefundApiInParam_7->setBaseType($alipayTradeRefundApiInParam_7::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_7->setTitle("商户的门店编号");
        $alipayTradeRefundApiInParam_7->setDesc("");
        $alipayTradeRefundApiInParam_7->setIsMust(3);
        $alipayTradeRefundApiInParam_7->setIsListType(false);
        $alipayTradeRefundApiInParam_7->setFullParamName("storeId");
        $alipayTradeRefundApiInParam_7->setEnName("store_id");
        $alipayTradeRefundApiInParam_7->setChilds("");
        $alipayTradeRefundApiInParamChilds[] = json_decode($alipayTradeRefundApiInParam_7->getBizContent());

        $alipayTradeRefundApiInParam_8 = new ApiParamModel();
        $alipayTradeRefundApiInParam_8->setBaseType($alipayTradeRefundApiInParam_8::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_8->setTitle("商户的终端编号");
        $alipayTradeRefundApiInParam_8->setDesc("");
        $alipayTradeRefundApiInParam_8->setIsMust(3);
        $alipayTradeRefundApiInParam_8->setIsListType(false);
        $alipayTradeRefundApiInParam_8->setFullParamName("terminalId");
        $alipayTradeRefundApiInParam_8->setEnName("terminal_id");
        $alipayTradeRefundApiInParam_8->setChilds("");
        $alipayTradeRefundApiInParamChilds[] = json_decode($alipayTradeRefundApiInParam_8->getBizContent());

        $alipayTradeRefundApiInParam_9 = new ApiParamModel();
        $alipayTradeRefundApiInParam_9->setBaseType($alipayTradeRefundApiInParam_9::$TYPE_COMPLEXTYPE);
        $alipayTradeRefundApiInParam_9->setTitle("退款包含的商品列表信息");
        $alipayTradeRefundApiInParam_9->setDesc("Json格式。  其它说明详见：“商品明细说明”");
        $alipayTradeRefundApiInParam_9->setIsMust(3);
        $alipayTradeRefundApiInParam_9->setIsListType(true);
        $alipayTradeRefundApiInParam_9->setFullParamName("goodsDetail[0]");
        $alipayTradeRefundApiInParam_9->setEnName("goods_detail");
        $alipayTradeRefundApiInParam_9->setChilds("");
    
    // $alipayTradeRefundApiInParam_9Childs[] = new ApiParamModel();

            $alipayTradeRefundApiInParam_9_0 = new ApiParamModel();
        $alipayTradeRefundApiInParam_9_0->setBaseType($alipayTradeRefundApiInParam_9_0::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_9_0->setTitle("商品的编号");
        $alipayTradeRefundApiInParam_9_0->setDesc("");
        $alipayTradeRefundApiInParam_9_0->setIsMust(1);
        $alipayTradeRefundApiInParam_9_0->setIsListType(false);
        $alipayTradeRefundApiInParam_9_0->setFullParamName("goodsDetail[0].goodsId");
        $alipayTradeRefundApiInParam_9_0->setEnName("goods_id");
        $alipayTradeRefundApiInParam_9_0->setChilds("");
        $alipayTradeRefundApiInParam_9Childs[] = json_decode($alipayTradeRefundApiInParam_9_0->getBizContent());

        $alipayTradeRefundApiInParam_9_2 = new ApiParamModel();
        $alipayTradeRefundApiInParam_9_2->setBaseType($alipayTradeRefundApiInParam_9_2::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_9_2->setTitle("商品名称");
        $alipayTradeRefundApiInParam_9_2->setDesc("");
        $alipayTradeRefundApiInParam_9_2->setIsMust(1);
        $alipayTradeRefundApiInParam_9_2->setIsListType(false);
        $alipayTradeRefundApiInParam_9_2->setFullParamName("goodsDetail[0].goodsName");
        $alipayTradeRefundApiInParam_9_2->setEnName("goods_name");
        $alipayTradeRefundApiInParam_9_2->setChilds("");
        $alipayTradeRefundApiInParam_9Childs[] = json_decode($alipayTradeRefundApiInParam_9_2->getBizContent());

        $alipayTradeRefundApiInParam_9_3 = new ApiParamModel();
        $alipayTradeRefundApiInParam_9_3->setBaseType($alipayTradeRefundApiInParam_9_3::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_9_3->setTitle("商品数量");
        $alipayTradeRefundApiInParam_9_3->setDesc("");
        $alipayTradeRefundApiInParam_9_3->setIsMust(1);
        $alipayTradeRefundApiInParam_9_3->setIsListType(false);
        $alipayTradeRefundApiInParam_9_3->setFullParamName("goodsDetail[0].quantity");
        $alipayTradeRefundApiInParam_9_3->setEnName("quantity");
        $alipayTradeRefundApiInParam_9_3->setChilds("");
        $alipayTradeRefundApiInParam_9Childs[] = json_decode($alipayTradeRefundApiInParam_9_3->getBizContent());

        $alipayTradeRefundApiInParam_9_4 = new ApiParamModel();
        $alipayTradeRefundApiInParam_9_4->setBaseType($alipayTradeRefundApiInParam_9_4::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_9_4->setTitle("商品单价");
        $alipayTradeRefundApiInParam_9_4->setDesc("单位为元");
        $alipayTradeRefundApiInParam_9_4->setIsMust(1);
        $alipayTradeRefundApiInParam_9_4->setIsListType(false);
        $alipayTradeRefundApiInParam_9_4->setFullParamName("goodsDetail[0].price");
        $alipayTradeRefundApiInParam_9_4->setEnName("price");
        $alipayTradeRefundApiInParam_9_4->setChilds("");
        $alipayTradeRefundApiInParam_9Childs[] = json_decode($alipayTradeRefundApiInParam_9_4->getBizContent());

        $alipayTradeRefundApiInParam_9_1 = new ApiParamModel();
        $alipayTradeRefundApiInParam_9_1->setBaseType($alipayTradeRefundApiInParam_9_1::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_9_1->setTitle("支付宝定义的统一商品编号");
        $alipayTradeRefundApiInParam_9_1->setDesc("");
        $alipayTradeRefundApiInParam_9_1->setIsMust(3);
        $alipayTradeRefundApiInParam_9_1->setIsListType(false);
        $alipayTradeRefundApiInParam_9_1->setFullParamName("goodsDetail[0].alipayGoodsId");
        $alipayTradeRefundApiInParam_9_1->setEnName("alipay_goods_id");
        $alipayTradeRefundApiInParam_9_1->setChilds("");
        $alipayTradeRefundApiInParam_9Childs[] = json_decode($alipayTradeRefundApiInParam_9_1->getBizContent());

        $alipayTradeRefundApiInParam_9_5 = new ApiParamModel();
        $alipayTradeRefundApiInParam_9_5->setBaseType($alipayTradeRefundApiInParam_9_5::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_9_5->setTitle("商品类目");
        $alipayTradeRefundApiInParam_9_5->setDesc("");
        $alipayTradeRefundApiInParam_9_5->setIsMust(3);
        $alipayTradeRefundApiInParam_9_5->setIsListType(false);
        $alipayTradeRefundApiInParam_9_5->setFullParamName("goodsDetail[0].goodsCategory");
        $alipayTradeRefundApiInParam_9_5->setEnName("goods_category");
        $alipayTradeRefundApiInParam_9_5->setChilds("");
        $alipayTradeRefundApiInParam_9Childs[] = json_decode($alipayTradeRefundApiInParam_9_5->getBizContent());

        $alipayTradeRefundApiInParam_9_6 = new ApiParamModel();
        $alipayTradeRefundApiInParam_9_6->setBaseType($alipayTradeRefundApiInParam_9_6::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_9_6->setTitle("商品描述信息");
        $alipayTradeRefundApiInParam_9_6->setDesc("");
        $alipayTradeRefundApiInParam_9_6->setIsMust(3);
        $alipayTradeRefundApiInParam_9_6->setIsListType(false);
        $alipayTradeRefundApiInParam_9_6->setFullParamName("goodsDetail[0].body");
        $alipayTradeRefundApiInParam_9_6->setEnName("body");
        $alipayTradeRefundApiInParam_9_6->setChilds("");
        $alipayTradeRefundApiInParam_9Childs[] = json_decode($alipayTradeRefundApiInParam_9_6->getBizContent());

        $alipayTradeRefundApiInParam_9_7 = new ApiParamModel();
        $alipayTradeRefundApiInParam_9_7->setBaseType($alipayTradeRefundApiInParam_9_7::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_9_7->setTitle("商品的展示地址");
        $alipayTradeRefundApiInParam_9_7->setDesc("");
        $alipayTradeRefundApiInParam_9_7->setIsMust(3);
        $alipayTradeRefundApiInParam_9_7->setIsListType(false);
        $alipayTradeRefundApiInParam_9_7->setFullParamName("goodsDetail[0].showUrl");
        $alipayTradeRefundApiInParam_9_7->setEnName("show_url");
        $alipayTradeRefundApiInParam_9_7->setChilds("");
        $alipayTradeRefundApiInParam_9Childs[] = json_decode($alipayTradeRefundApiInParam_9_7->getBizContent());

            $alipayTradeRefundApiInParam_9->setChilds($alipayTradeRefundApiInParam_9Childs);

        $alipayTradeRefundApiInParamChilds[] = json_decode($alipayTradeRefundApiInParam_9->getBizContent());

        $alipayTradeRefundApiInParam_10 = new ApiParamModel();
        $alipayTradeRefundApiInParam_10->setBaseType($alipayTradeRefundApiInParam_10::$TYPE_COMPLEXTYPE);
        $alipayTradeRefundApiInParam_10->setTitle("退分账明细信息");
        $alipayTradeRefundApiInParam_10->setDesc("");
        $alipayTradeRefundApiInParam_10->setIsMust(3);
        $alipayTradeRefundApiInParam_10->setIsListType(true);
        $alipayTradeRefundApiInParam_10->setFullParamName("refundRoyaltyParameters[0]");
        $alipayTradeRefundApiInParam_10->setEnName("refund_royalty_parameters");
        $alipayTradeRefundApiInParam_10->setChilds("");
    
    // $alipayTradeRefundApiInParam_10Childs[] = new ApiParamModel();

            $alipayTradeRefundApiInParam_10_0 = new ApiParamModel();
        $alipayTradeRefundApiInParam_10_0->setBaseType($alipayTradeRefundApiInParam_10_0::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_10_0->setTitle("分账类型");
        $alipayTradeRefundApiInParam_10_0->setDesc("  普通分账为：transfer;  补差为：replenish;  为空默认为分账transfer;");
        $alipayTradeRefundApiInParam_10_0->setIsMust(3);
        $alipayTradeRefundApiInParam_10_0->setIsListType(false);
        $alipayTradeRefundApiInParam_10_0->setFullParamName("refundRoyaltyParameters[0].royaltyType");
        $alipayTradeRefundApiInParam_10_0->setEnName("royalty_type");
        $alipayTradeRefundApiInParam_10_0->setChilds("");
        $alipayTradeRefundApiInParam_10Childs[] = json_decode($alipayTradeRefundApiInParam_10_0->getBizContent());

        $alipayTradeRefundApiInParam_10_1 = new ApiParamModel();
        $alipayTradeRefundApiInParam_10_1->setBaseType($alipayTradeRefundApiInParam_10_1::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_10_1->setTitle("支出方账户");
        $alipayTradeRefundApiInParam_10_1->setDesc("如果支出方账户类型为userId，本参数为支出方的支付宝账号对应的支付宝唯一用户号，以2088开头的纯16位数字；如果支出方类型为loginName，本参数为支出方的支付宝登录号；");
        $alipayTradeRefundApiInParam_10_1->setIsMust(3);
        $alipayTradeRefundApiInParam_10_1->setIsListType(false);
        $alipayTradeRefundApiInParam_10_1->setFullParamName("refundRoyaltyParameters[0].transOut");
        $alipayTradeRefundApiInParam_10_1->setEnName("trans_out");
        $alipayTradeRefundApiInParam_10_1->setChilds("");
        $alipayTradeRefundApiInParam_10Childs[] = json_decode($alipayTradeRefundApiInParam_10_1->getBizContent());

        $alipayTradeRefundApiInParam_10_2 = new ApiParamModel();
        $alipayTradeRefundApiInParam_10_2->setBaseType($alipayTradeRefundApiInParam_10_2::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_10_2->setTitle("支出方账户类型");
        $alipayTradeRefundApiInParam_10_2->setDesc("userId表示是支付宝账号对应的支付宝唯一用户号;loginName表示是支付宝登录号；");
        $alipayTradeRefundApiInParam_10_2->setIsMust(3);
        $alipayTradeRefundApiInParam_10_2->setIsListType(false);
        $alipayTradeRefundApiInParam_10_2->setFullParamName("refundRoyaltyParameters[0].transOutType");
        $alipayTradeRefundApiInParam_10_2->setEnName("trans_out_type");
        $alipayTradeRefundApiInParam_10_2->setChilds("");
        $alipayTradeRefundApiInParam_10Childs[] = json_decode($alipayTradeRefundApiInParam_10_2->getBizContent());

        $alipayTradeRefundApiInParam_10_3 = new ApiParamModel();
        $alipayTradeRefundApiInParam_10_3->setBaseType($alipayTradeRefundApiInParam_10_3::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_10_3->setTitle("收入方账户类型");
        $alipayTradeRefundApiInParam_10_3->setDesc("userId表示是支付宝账号对应的支付宝唯一用户号;cardSerialNo表示是卡编号;loginName表示是支付宝登录号；");
        $alipayTradeRefundApiInParam_10_3->setIsMust(3);
        $alipayTradeRefundApiInParam_10_3->setIsListType(false);
        $alipayTradeRefundApiInParam_10_3->setFullParamName("refundRoyaltyParameters[0].transInType");
        $alipayTradeRefundApiInParam_10_3->setEnName("trans_in_type");
        $alipayTradeRefundApiInParam_10_3->setChilds("");
        $alipayTradeRefundApiInParam_10Childs[] = json_decode($alipayTradeRefundApiInParam_10_3->getBizContent());

        $alipayTradeRefundApiInParam_10_4 = new ApiParamModel();
        $alipayTradeRefundApiInParam_10_4->setBaseType($alipayTradeRefundApiInParam_10_4::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_10_4->setTitle("收入方账户");
        $alipayTradeRefundApiInParam_10_4->setDesc("如果收入方账户类型为userId，本参数为收入方的支付宝账号对应的支付宝唯一用户号，以2088开头的纯16位数字；如果收入方类型为cardSerialNo，本参数为收入方在支付宝绑定的卡编号；如果收入方类型为loginName，本参数为收入方的支付宝登录号；");
        $alipayTradeRefundApiInParam_10_4->setIsMust(3);
        $alipayTradeRefundApiInParam_10_4->setIsListType(false);
        $alipayTradeRefundApiInParam_10_4->setFullParamName("refundRoyaltyParameters[0].transIn");
        $alipayTradeRefundApiInParam_10_4->setEnName("trans_in");
        $alipayTradeRefundApiInParam_10_4->setChilds("");
        $alipayTradeRefundApiInParam_10Childs[] = json_decode($alipayTradeRefundApiInParam_10_4->getBizContent());

        $alipayTradeRefundApiInParam_10_5 = new ApiParamModel();
        $alipayTradeRefundApiInParam_10_5->setBaseType($alipayTradeRefundApiInParam_10_5::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_10_5->setTitle("分账的金额");
        $alipayTradeRefundApiInParam_10_5->setDesc("单位为元");
        $alipayTradeRefundApiInParam_10_5->setIsMust(3);
        $alipayTradeRefundApiInParam_10_5->setIsListType(false);
        $alipayTradeRefundApiInParam_10_5->setFullParamName("refundRoyaltyParameters[0].amount");
        $alipayTradeRefundApiInParam_10_5->setEnName("amount");
        $alipayTradeRefundApiInParam_10_5->setChilds("");
        $alipayTradeRefundApiInParam_10Childs[] = json_decode($alipayTradeRefundApiInParam_10_5->getBizContent());

        $alipayTradeRefundApiInParam_10_6 = new ApiParamModel();
        $alipayTradeRefundApiInParam_10_6->setBaseType($alipayTradeRefundApiInParam_10_6::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_10_6->setTitle("分账信息中分账百分比");
        $alipayTradeRefundApiInParam_10_6->setDesc("取值范围为大于0，少于或等于100的整数。");
        $alipayTradeRefundApiInParam_10_6->setIsMust(3);
        $alipayTradeRefundApiInParam_10_6->setIsListType(false);
        $alipayTradeRefundApiInParam_10_6->setFullParamName("refundRoyaltyParameters[0].amountPercentage");
        $alipayTradeRefundApiInParam_10_6->setEnName("amount_percentage");
        $alipayTradeRefundApiInParam_10_6->setChilds("");
        $alipayTradeRefundApiInParam_10Childs[] = json_decode($alipayTradeRefundApiInParam_10_6->getBizContent());

        $alipayTradeRefundApiInParam_10_7 = new ApiParamModel();
        $alipayTradeRefundApiInParam_10_7->setBaseType($alipayTradeRefundApiInParam_10_7::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_10_7->setTitle("分账描述");
        $alipayTradeRefundApiInParam_10_7->setDesc("");
        $alipayTradeRefundApiInParam_10_7->setIsMust(3);
        $alipayTradeRefundApiInParam_10_7->setIsListType(false);
        $alipayTradeRefundApiInParam_10_7->setFullParamName("refundRoyaltyParameters[0].desc");
        $alipayTradeRefundApiInParam_10_7->setEnName("desc");
        $alipayTradeRefundApiInParam_10_7->setChilds("");
        $alipayTradeRefundApiInParam_10Childs[] = json_decode($alipayTradeRefundApiInParam_10_7->getBizContent());

            $alipayTradeRefundApiInParam_10->setChilds($alipayTradeRefundApiInParam_10Childs);

        $alipayTradeRefundApiInParamChilds[] = json_decode($alipayTradeRefundApiInParam_10->getBizContent());

        $alipayTradeRefundApiInParam_0 = new ApiParamModel();
        $alipayTradeRefundApiInParam_0->setBaseType($alipayTradeRefundApiInParam_0::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_0->setTitle("订单支付时传入的商户订单号");
        $alipayTradeRefundApiInParam_0->setDesc("不能和 trade_no同时为空。");
        $alipayTradeRefundApiInParam_0->setIsMust(2);
        $alipayTradeRefundApiInParam_0->setIsListType(false);
        $alipayTradeRefundApiInParam_0->setFullParamName("outTradeNo");
        $alipayTradeRefundApiInParam_0->setEnName("out_trade_no");
        $alipayTradeRefundApiInParam_0->setChilds("");
        $alipayTradeRefundApiInParamChilds[] = json_decode($alipayTradeRefundApiInParam_0->getBizContent());

        $alipayTradeRefundApiInParam_1 = new ApiParamModel();
        $alipayTradeRefundApiInParam_1->setBaseType($alipayTradeRefundApiInParam_1::$TYPE_BASETYPE);
        $alipayTradeRefundApiInParam_1->setTitle("支付宝交易号");
        $alipayTradeRefundApiInParam_1->setDesc("和商户订单号不能同时为空");
        $alipayTradeRefundApiInParam_1->setIsMust(2);
        $alipayTradeRefundApiInParam_1->setIsListType(false);
        $alipayTradeRefundApiInParam_1->setFullParamName("tradeNo");
        $alipayTradeRefundApiInParam_1->setEnName("trade_no");
        $alipayTradeRefundApiInParam_1->setChilds("");
        $alipayTradeRefundApiInParamChilds[] = json_decode($alipayTradeRefundApiInParam_1->getBizContent());

        $alipayTradeRefundInfoModel->setApiInParam($alipayTradeRefundApiInParamChilds);

        $alipayTradeRefundApiOutParamChilds[] = new ApiParamModel();

            $alipayTradeRefundApiOutParam_0 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_0->setBaseType($alipayTradeRefundApiOutParam_0::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_0->setTitle("2013112011001004330000121536");
        $alipayTradeRefundApiOutParam_0->setDesc("");
        $alipayTradeRefundApiOutParam_0->setIsMust(1);
        $alipayTradeRefundApiOutParam_0->setIsListType(false);
        $alipayTradeRefundApiOutParam_0->setFullParamName("tradeNo");
        $alipayTradeRefundApiOutParam_0->setEnName("trade_no");
        $alipayTradeRefundApiOutParam_0->setChilds("");
        $alipayTradeRefundApiOutParamChilds[] = json_decode($alipayTradeRefundApiOutParam_0->getBizContent());

        $alipayTradeRefundApiOutParam_1 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_1->setBaseType($alipayTradeRefundApiOutParam_1::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_1->setTitle("商户订单号");
        $alipayTradeRefundApiOutParam_1->setDesc("");
        $alipayTradeRefundApiOutParam_1->setIsMust(1);
        $alipayTradeRefundApiOutParam_1->setIsListType(false);
        $alipayTradeRefundApiOutParam_1->setFullParamName("outTradeNo");
        $alipayTradeRefundApiOutParam_1->setEnName("out_trade_no");
        $alipayTradeRefundApiOutParam_1->setChilds("");
        $alipayTradeRefundApiOutParamChilds[] = json_decode($alipayTradeRefundApiOutParam_1->getBizContent());

        $alipayTradeRefundApiOutParam_2 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_2->setBaseType($alipayTradeRefundApiOutParam_2::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_2->setTitle("买家支付宝用户号");
        $alipayTradeRefundApiOutParam_2->setDesc("该参数已废弃，请不要使用");
        $alipayTradeRefundApiOutParam_2->setIsMust(1);
        $alipayTradeRefundApiOutParam_2->setIsListType(false);
        $alipayTradeRefundApiOutParam_2->setFullParamName("openId");
        $alipayTradeRefundApiOutParam_2->setEnName("open_id");
        $alipayTradeRefundApiOutParam_2->setChilds("");
        $alipayTradeRefundApiOutParamChilds[] = json_decode($alipayTradeRefundApiOutParam_2->getBizContent());

        $alipayTradeRefundApiOutParam_3 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_3->setBaseType($alipayTradeRefundApiOutParam_3::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_3->setTitle("用户的登录id");
        $alipayTradeRefundApiOutParam_3->setDesc("");
        $alipayTradeRefundApiOutParam_3->setIsMust(1);
        $alipayTradeRefundApiOutParam_3->setIsListType(false);
        $alipayTradeRefundApiOutParam_3->setFullParamName("buyerLogonId");
        $alipayTradeRefundApiOutParam_3->setEnName("buyer_logon_id");
        $alipayTradeRefundApiOutParam_3->setChilds("");
        $alipayTradeRefundApiOutParamChilds[] = json_decode($alipayTradeRefundApiOutParam_3->getBizContent());

        $alipayTradeRefundApiOutParam_4 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_4->setBaseType($alipayTradeRefundApiOutParam_4::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_4->setTitle("本次退款是否发生了资金变化");
        $alipayTradeRefundApiOutParam_4->setDesc("");
        $alipayTradeRefundApiOutParam_4->setIsMust(1);
        $alipayTradeRefundApiOutParam_4->setIsListType(false);
        $alipayTradeRefundApiOutParam_4->setFullParamName("fundChange");
        $alipayTradeRefundApiOutParam_4->setEnName("fund_change");
        $alipayTradeRefundApiOutParam_4->setChilds("");
        $alipayTradeRefundApiOutParamChilds[] = json_decode($alipayTradeRefundApiOutParam_4->getBizContent());

        $alipayTradeRefundApiOutParam_5 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_5->setBaseType($alipayTradeRefundApiOutParam_5::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_5->setTitle("退款总金额");
        $alipayTradeRefundApiOutParam_5->setDesc("");
        $alipayTradeRefundApiOutParam_5->setIsMust(1);
        $alipayTradeRefundApiOutParam_5->setIsListType(false);
        $alipayTradeRefundApiOutParam_5->setFullParamName("refundFee");
        $alipayTradeRefundApiOutParam_5->setEnName("refund_fee");
        $alipayTradeRefundApiOutParam_5->setChilds("");
        $alipayTradeRefundApiOutParamChilds[] = json_decode($alipayTradeRefundApiOutParam_5->getBizContent());

        $alipayTradeRefundApiOutParam_7 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_7->setBaseType($alipayTradeRefundApiOutParam_7::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_7->setTitle("退款支付时间");
        $alipayTradeRefundApiOutParam_7->setDesc("");
        $alipayTradeRefundApiOutParam_7->setIsMust(1);
        $alipayTradeRefundApiOutParam_7->setIsListType(false);
        $alipayTradeRefundApiOutParam_7->setFullParamName("gmtRefundPay");
        $alipayTradeRefundApiOutParam_7->setEnName("gmt_refund_pay");
        $alipayTradeRefundApiOutParam_7->setChilds("");
        $alipayTradeRefundApiOutParamChilds[] = json_decode($alipayTradeRefundApiOutParam_7->getBizContent());

        $alipayTradeRefundApiOutParam_10 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_10->setBaseType($alipayTradeRefundApiOutParam_10::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_10->setTitle("买家在支付宝的用户id");
        $alipayTradeRefundApiOutParam_10->setDesc("");
        $alipayTradeRefundApiOutParam_10->setIsMust(1);
        $alipayTradeRefundApiOutParam_10->setIsListType(false);
        $alipayTradeRefundApiOutParam_10->setFullParamName("buyerUserId");
        $alipayTradeRefundApiOutParam_10->setEnName("buyer_user_id");
        $alipayTradeRefundApiOutParam_10->setChilds("");
        $alipayTradeRefundApiOutParamChilds[] = json_decode($alipayTradeRefundApiOutParam_10->getBizContent());

        $alipayTradeRefundApiOutParam_6 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_6->setBaseType($alipayTradeRefundApiOutParam_6::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_6->setTitle("退款币种信息");
        $alipayTradeRefundApiOutParam_6->setDesc("");
        $alipayTradeRefundApiOutParam_6->setIsMust(2);
        $alipayTradeRefundApiOutParam_6->setIsListType(false);
        $alipayTradeRefundApiOutParam_6->setFullParamName("refundCurrency");
        $alipayTradeRefundApiOutParam_6->setEnName("refund_currency");
        $alipayTradeRefundApiOutParam_6->setChilds("");
        $alipayTradeRefundApiOutParamChilds[] = json_decode($alipayTradeRefundApiOutParam_6->getBizContent());

        $alipayTradeRefundApiOutParam_8 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_8->setBaseType($alipayTradeRefundApiOutParam_8::$TYPE_COMPLEXTYPE);
        $alipayTradeRefundApiOutParam_8->setTitle("退款使用的资金渠道");
        $alipayTradeRefundApiOutParam_8->setDesc("");
        $alipayTradeRefundApiOutParam_8->setIsMust(2);
        $alipayTradeRefundApiOutParam_8->setIsListType(true);
        $alipayTradeRefundApiOutParam_8->setFullParamName("refundDetailItemList[0]");
        $alipayTradeRefundApiOutParam_8->setEnName("refund_detail_item_list");
        $alipayTradeRefundApiOutParam_8->setChilds("");
    
    // $alipayTradeRefundApiOutParam_8Childs[] = new ApiParamModel();

            $alipayTradeRefundApiOutParam_8_0 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_8_0->setBaseType($alipayTradeRefundApiOutParam_8_0::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_8_0->setTitle("交易使用的资金渠道");
        $alipayTradeRefundApiOutParam_8_0->setDesc("详见 <a href=\"https://doc.open.alipay.com/doc2/detail?treeId=26&articleId=103259&docType=1\">支付渠道列表</a>");
        $alipayTradeRefundApiOutParam_8_0->setIsMust(1);
        $alipayTradeRefundApiOutParam_8_0->setIsListType(false);
        $alipayTradeRefundApiOutParam_8_0->setFullParamName("refundDetailItemList[0].fundChannel");
        $alipayTradeRefundApiOutParam_8_0->setEnName("fund_channel");
        $alipayTradeRefundApiOutParam_8_0->setChilds("");
        $alipayTradeRefundApiOutParam_8Childs[] = json_decode($alipayTradeRefundApiOutParam_8_0->getBizContent());

        $alipayTradeRefundApiOutParam_8_1 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_8_1->setBaseType($alipayTradeRefundApiOutParam_8_1::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_8_1->setTitle("该支付工具类型所使用的金额");
        $alipayTradeRefundApiOutParam_8_1->setDesc("");
        $alipayTradeRefundApiOutParam_8_1->setIsMust(1);
        $alipayTradeRefundApiOutParam_8_1->setIsListType(false);
        $alipayTradeRefundApiOutParam_8_1->setFullParamName("refundDetailItemList[0].amount");
        $alipayTradeRefundApiOutParam_8_1->setEnName("amount");
        $alipayTradeRefundApiOutParam_8_1->setChilds("");
        $alipayTradeRefundApiOutParam_8Childs[] = json_decode($alipayTradeRefundApiOutParam_8_1->getBizContent());

        $alipayTradeRefundApiOutParam_8_2 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_8_2->setBaseType($alipayTradeRefundApiOutParam_8_2::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_8_2->setTitle("渠道实际付款金额");
        $alipayTradeRefundApiOutParam_8_2->setDesc("");
        $alipayTradeRefundApiOutParam_8_2->setIsMust(3);
        $alipayTradeRefundApiOutParam_8_2->setIsListType(false);
        $alipayTradeRefundApiOutParam_8_2->setFullParamName("refundDetailItemList[0].realAmount");
        $alipayTradeRefundApiOutParam_8_2->setEnName("real_amount");
        $alipayTradeRefundApiOutParam_8_2->setChilds("");
        $alipayTradeRefundApiOutParam_8Childs[] = json_decode($alipayTradeRefundApiOutParam_8_2->getBizContent());

        $alipayTradeRefundApiOutParam_8_3 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_8_3->setBaseType($alipayTradeRefundApiOutParam_8_3::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_8_3->setTitle("渠道所使用的资金类型");
        $alipayTradeRefundApiOutParam_8_3->setDesc("目前只在资金渠道(fund_channel)是银行卡渠道(BANKCARD)的情况下才返回该信息(DEBIT_CARD:借记卡,CREDIT_CARD:信用卡,MIXED_CARD:借贷合一卡)");
        $alipayTradeRefundApiOutParam_8_3->setIsMust(3);
        $alipayTradeRefundApiOutParam_8_3->setIsListType(false);
        $alipayTradeRefundApiOutParam_8_3->setFullParamName("refundDetailItemList[0].fundType");
        $alipayTradeRefundApiOutParam_8_3->setEnName("fund_type");
        $alipayTradeRefundApiOutParam_8_3->setChilds("");
        $alipayTradeRefundApiOutParam_8Childs[] = json_decode($alipayTradeRefundApiOutParam_8_3->getBizContent());

            $alipayTradeRefundApiOutParam_8->setChilds($alipayTradeRefundApiOutParam_8Childs);

        $alipayTradeRefundApiOutParamChilds[] = json_decode($alipayTradeRefundApiOutParam_8->getBizContent());

        $alipayTradeRefundApiOutParam_9 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_9->setBaseType($alipayTradeRefundApiOutParam_9::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_9->setTitle("交易在支付时候的门店名称");
        $alipayTradeRefundApiOutParam_9->setDesc("");
        $alipayTradeRefundApiOutParam_9->setIsMust(2);
        $alipayTradeRefundApiOutParam_9->setIsListType(false);
        $alipayTradeRefundApiOutParam_9->setFullParamName("storeName");
        $alipayTradeRefundApiOutParam_9->setEnName("store_name");
        $alipayTradeRefundApiOutParam_9->setChilds("");
        $alipayTradeRefundApiOutParamChilds[] = json_decode($alipayTradeRefundApiOutParam_9->getBizContent());

        $alipayTradeRefundApiOutParam_11 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_11->setBaseType($alipayTradeRefundApiOutParam_11::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_11->setTitle("本次商户实际退回金额");
        $alipayTradeRefundApiOutParam_11->setDesc(" 注：在签约收单产品时需勾选“返回资金明细”才会返回");
        $alipayTradeRefundApiOutParam_11->setIsMust(2);
        $alipayTradeRefundApiOutParam_11->setIsListType(false);
        $alipayTradeRefundApiOutParam_11->setFullParamName("sendBackFee");
        $alipayTradeRefundApiOutParam_11->setEnName("send_back_fee");
        $alipayTradeRefundApiOutParam_11->setChilds("");
        $alipayTradeRefundApiOutParamChilds[] = json_decode($alipayTradeRefundApiOutParam_11->getBizContent());

        $alipayTradeRefundApiOutParam_12 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_12->setBaseType($alipayTradeRefundApiOutParam_12::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_12->setTitle("本次退款金额中买家退款金额");
        $alipayTradeRefundApiOutParam_12->setDesc("");
        $alipayTradeRefundApiOutParam_12->setIsMust(2);
        $alipayTradeRefundApiOutParam_12->setIsListType(false);
        $alipayTradeRefundApiOutParam_12->setFullParamName("presentRefundBuyerAmount");
        $alipayTradeRefundApiOutParam_12->setEnName("present_refund_buyer_amount");
        $alipayTradeRefundApiOutParam_12->setChilds("");
        $alipayTradeRefundApiOutParamChilds[] = json_decode($alipayTradeRefundApiOutParam_12->getBizContent());

        $alipayTradeRefundApiOutParam_13 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_13->setBaseType($alipayTradeRefundApiOutParam_13::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_13->setTitle("本次退款金额中平台优惠退款金额");
        $alipayTradeRefundApiOutParam_13->setDesc("");
        $alipayTradeRefundApiOutParam_13->setIsMust(2);
        $alipayTradeRefundApiOutParam_13->setIsListType(false);
        $alipayTradeRefundApiOutParam_13->setFullParamName("presentRefundDiscountAmount");
        $alipayTradeRefundApiOutParam_13->setEnName("present_refund_discount_amount");
        $alipayTradeRefundApiOutParam_13->setChilds("");
        $alipayTradeRefundApiOutParamChilds[] = json_decode($alipayTradeRefundApiOutParam_13->getBizContent());

        $alipayTradeRefundApiOutParam_14 = new ApiParamModel();
        $alipayTradeRefundApiOutParam_14->setBaseType($alipayTradeRefundApiOutParam_14::$TYPE_BASETYPE);
        $alipayTradeRefundApiOutParam_14->setTitle("本次退款金额中商家优惠退款金额");
        $alipayTradeRefundApiOutParam_14->setDesc("");
        $alipayTradeRefundApiOutParam_14->setIsMust(2);
        $alipayTradeRefundApiOutParam_14->setIsListType(false);
        $alipayTradeRefundApiOutParam_14->setFullParamName("presentRefundMdiscountAmount");
        $alipayTradeRefundApiOutParam_14->setEnName("present_refund_mdiscount_amount");
        $alipayTradeRefundApiOutParam_14->setChilds("");
        $alipayTradeRefundApiOutParamChilds[] = json_decode($alipayTradeRefundApiOutParam_14->getBizContent());

        $alipayTradeRefundInfoModel->setApiOutParam($alipayTradeRefundApiOutParamChilds);

        $list[] = json_decode($alipayTradeRefundInfoModel->getBizContent());
        $alipayDataDataserviceBillDownloadurlQueryInfoModel = new ApiInfoModel();
        
        $alipayDataDataserviceBillDownloadurlQueryInfoModel->setApiName("alipay.data.dataservice.bill.downloadurl.query");
        $alipayDataDataserviceBillDownloadurlQueryInfoModel->setApiZhName("查询对账单下载地址");
        $alipayDataDataserviceBillDownloadurlQueryInfoModel->setInvokeType($alipayDataDataserviceBillDownloadurlQueryInfoModel::$INVOKE_TYPE_REQUEST);
            // $alipayDataDataserviceBillDownloadurlQueryApiInParamChilds[] = new ApiParamModel();
            $alipayDataDataserviceBillDownloadurlQueryApiInParam_0 = new ApiParamModel();
        $alipayDataDataserviceBillDownloadurlQueryApiInParam_0->setBaseType($alipayDataDataserviceBillDownloadurlQueryApiInParam_0::$TYPE_BASETYPE);
        $alipayDataDataserviceBillDownloadurlQueryApiInParam_0->setTitle("账单类型");
        $alipayDataDataserviceBillDownloadurlQueryApiInParam_0->setDesc("商户通过接口或商户经开放平台授权后其所属服务商通过接口可以获取以下账单类型：trade、signcustomer；trade指商户基于支付宝交易收单的业务账单；signcustomer是指基于商户支付宝余额收入及支出等资金变动的帐务账单；");
        $alipayDataDataserviceBillDownloadurlQueryApiInParam_0->setIsMust(1);
        $alipayDataDataserviceBillDownloadurlQueryApiInParam_0->setIsListType(false);
        $alipayDataDataserviceBillDownloadurlQueryApiInParam_0->setFullParamName("billType");
        $alipayDataDataserviceBillDownloadurlQueryApiInParam_0->setEnName("bill_type");
        $alipayDataDataserviceBillDownloadurlQueryApiInParam_0->setChilds("");
        $alipayDataDataserviceBillDownloadurlQueryApiInParamChilds[] = json_decode($alipayDataDataserviceBillDownloadurlQueryApiInParam_0->getBizContent());

        $alipayDataDataserviceBillDownloadurlQueryApiInParam_1 = new ApiParamModel();
        $alipayDataDataserviceBillDownloadurlQueryApiInParam_1->setBaseType($alipayDataDataserviceBillDownloadurlQueryApiInParam_1::$TYPE_BASETYPE);
        $alipayDataDataserviceBillDownloadurlQueryApiInParam_1->setTitle("账单时间：日账单格式为yyyy-MM-dd");
        $alipayDataDataserviceBillDownloadurlQueryApiInParam_1->setDesc("月账单格式为yyyy-MM。");
        $alipayDataDataserviceBillDownloadurlQueryApiInParam_1->setIsMust(1);
        $alipayDataDataserviceBillDownloadurlQueryApiInParam_1->setIsListType(false);
        $alipayDataDataserviceBillDownloadurlQueryApiInParam_1->setFullParamName("billDate");
        $alipayDataDataserviceBillDownloadurlQueryApiInParam_1->setEnName("bill_date");
        $alipayDataDataserviceBillDownloadurlQueryApiInParam_1->setChilds("");
        $alipayDataDataserviceBillDownloadurlQueryApiInParamChilds[] = json_decode($alipayDataDataserviceBillDownloadurlQueryApiInParam_1->getBizContent());

        $alipayDataDataserviceBillDownloadurlQueryInfoModel->setApiInParam($alipayDataDataserviceBillDownloadurlQueryApiInParamChilds);

        $alipayDataDataserviceBillDownloadurlQueryApiOutParamChilds[] = new ApiParamModel();

            $alipayDataDataserviceBillDownloadurlQueryApiOutParam_0 = new ApiParamModel();
        $alipayDataDataserviceBillDownloadurlQueryApiOutParam_0->setBaseType($alipayDataDataserviceBillDownloadurlQueryApiOutParam_0::$TYPE_BASETYPE);
        $alipayDataDataserviceBillDownloadurlQueryApiOutParam_0->setTitle("账单下载地址链接");
        $alipayDataDataserviceBillDownloadurlQueryApiOutParam_0->setDesc("获取连接后30秒后未下载，链接地址失效。");
        $alipayDataDataserviceBillDownloadurlQueryApiOutParam_0->setIsMust(1);
        $alipayDataDataserviceBillDownloadurlQueryApiOutParam_0->setIsListType(false);
        $alipayDataDataserviceBillDownloadurlQueryApiOutParam_0->setFullParamName("billDownloadUrl");
        $alipayDataDataserviceBillDownloadurlQueryApiOutParam_0->setEnName("bill_download_url");
        $alipayDataDataserviceBillDownloadurlQueryApiOutParam_0->setChilds("");
        $alipayDataDataserviceBillDownloadurlQueryApiOutParamChilds[] = json_decode($alipayDataDataserviceBillDownloadurlQueryApiOutParam_0->getBizContent());

        $alipayDataDataserviceBillDownloadurlQueryInfoModel->setApiOutParam($alipayDataDataserviceBillDownloadurlQueryApiOutParamChilds);

        $list[] = json_decode($alipayDataDataserviceBillDownloadurlQueryInfoModel->getBizContent());
        $alipayTradeAppPayInfoModel = new ApiInfoModel();
        
        $alipayTradeAppPayInfoModel->setApiName("alipay.trade.app.pay");
        $alipayTradeAppPayInfoModel->setApiZhName("app支付接口2.0");
            $alipayTradeAppPayInfoModel->setInvokeType($alipayTradeAppPayInfoModel::$INVOKE_TYPE_REDIRECT);
            // $alipayTradeAppPayApiInParamChilds[] = new ApiParamModel();
            $alipayTradeAppPayApiInParam_0 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_0->setBaseType($alipayTradeAppPayApiInParam_0::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_0->setTitle("该笔订单允许的最晚付款时间");
        $alipayTradeAppPayApiInParam_0->setDesc("逾期将关闭交易。取值范围：1m～15d。m-分钟，h-小时，d-天，1c-当天（1c-当天的情况下，无论交易何时创建，都在0点关闭）。 该参数数值不接受小数点， 如 1.5h，可转换为 90m。");
        $alipayTradeAppPayApiInParam_0->setIsMust(3);
        $alipayTradeAppPayApiInParam_0->setIsListType(false);
        $alipayTradeAppPayApiInParam_0->setFullParamName("timeoutExpress");
        $alipayTradeAppPayApiInParam_0->setEnName("timeout_express");
        $alipayTradeAppPayApiInParam_0->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_0->getBizContent());

        $alipayTradeAppPayApiInParam_1 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_1->setBaseType($alipayTradeAppPayApiInParam_1::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_1->setTitle("订单总金额");
        $alipayTradeAppPayApiInParam_1->setDesc("单位为元，精确到小数点后两位，取值范围[0.01,100000000]");
        $alipayTradeAppPayApiInParam_1->setIsMust(3);
        $alipayTradeAppPayApiInParam_1->setIsListType(false);
        $alipayTradeAppPayApiInParam_1->setFullParamName("totalAmount");
        $alipayTradeAppPayApiInParam_1->setEnName("total_amount");
        $alipayTradeAppPayApiInParam_1->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_1->getBizContent());

        $alipayTradeAppPayApiInParam_2 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_2->setBaseType($alipayTradeAppPayApiInParam_2::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_2->setTitle("收款支付宝用户ID");
        $alipayTradeAppPayApiInParam_2->setDesc(" 如果该值为空，则默认为商户签约账号对应的支付宝用户ID");
        $alipayTradeAppPayApiInParam_2->setIsMust(3);
        $alipayTradeAppPayApiInParam_2->setIsListType(false);
        $alipayTradeAppPayApiInParam_2->setFullParamName("sellerId");
        $alipayTradeAppPayApiInParam_2->setEnName("seller_id");
        $alipayTradeAppPayApiInParam_2->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_2->getBizContent());

        $alipayTradeAppPayApiInParam_3 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_3->setBaseType($alipayTradeAppPayApiInParam_3::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_3->setTitle("销售产品码");
        $alipayTradeAppPayApiInParam_3->setDesc("商家和支付宝签约的产品码");
        $alipayTradeAppPayApiInParam_3->setIsMust(3);
        $alipayTradeAppPayApiInParam_3->setIsListType(false);
        $alipayTradeAppPayApiInParam_3->setFullParamName("productCode");
        $alipayTradeAppPayApiInParam_3->setEnName("product_code");
        $alipayTradeAppPayApiInParam_3->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_3->getBizContent());

        $alipayTradeAppPayApiInParam_4 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_4->setBaseType($alipayTradeAppPayApiInParam_4::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_4->setTitle("对一笔交易的具体描述信息");
        $alipayTradeAppPayApiInParam_4->setDesc("如果是多种商品，请将商品描述字符串累加传给body。");
        $alipayTradeAppPayApiInParam_4->setIsMust(3);
        $alipayTradeAppPayApiInParam_4->setIsListType(false);
        $alipayTradeAppPayApiInParam_4->setFullParamName("body");
        $alipayTradeAppPayApiInParam_4->setEnName("body");
        $alipayTradeAppPayApiInParam_4->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_4->getBizContent());

        $alipayTradeAppPayApiInParam_5 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_5->setBaseType($alipayTradeAppPayApiInParam_5::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_5->setTitle("商品的标题/交易标题/订单标题/订单关键字等");
        $alipayTradeAppPayApiInParam_5->setDesc("");
        $alipayTradeAppPayApiInParam_5->setIsMust(3);
        $alipayTradeAppPayApiInParam_5->setIsListType(false);
        $alipayTradeAppPayApiInParam_5->setFullParamName("subject");
        $alipayTradeAppPayApiInParam_5->setEnName("subject");
        $alipayTradeAppPayApiInParam_5->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_5->getBizContent());

        $alipayTradeAppPayApiInParam_6 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_6->setBaseType($alipayTradeAppPayApiInParam_6::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_6->setTitle("商户网站唯一订单号");
        $alipayTradeAppPayApiInParam_6->setDesc("");
        $alipayTradeAppPayApiInParam_6->setIsMust(3);
        $alipayTradeAppPayApiInParam_6->setIsListType(false);
        $alipayTradeAppPayApiInParam_6->setFullParamName("outTradeNo");
        $alipayTradeAppPayApiInParam_6->setEnName("out_trade_no");
        $alipayTradeAppPayApiInParam_6->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_6->getBizContent());

        $alipayTradeAppPayApiInParam_7 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_7->setBaseType($alipayTradeAppPayApiInParam_7::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_7->setTitle("绝对超时时间");
        $alipayTradeAppPayApiInParam_7->setDesc("格式为yyyy-MM-dd HH:mm。");
        $alipayTradeAppPayApiInParam_7->setIsMust(3);
        $alipayTradeAppPayApiInParam_7->setIsListType(false);
        $alipayTradeAppPayApiInParam_7->setFullParamName("timeExpire");
        $alipayTradeAppPayApiInParam_7->setEnName("time_expire");
        $alipayTradeAppPayApiInParam_7->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_7->getBizContent());

        $alipayTradeAppPayApiInParam_8 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_8->setBaseType($alipayTradeAppPayApiInParam_8::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_8->setTitle("商品主类型");
        $alipayTradeAppPayApiInParam_8->setDesc(":0-虚拟类商品,1-实物类商品");
        $alipayTradeAppPayApiInParam_8->setIsMust(3);
        $alipayTradeAppPayApiInParam_8->setIsListType(false);
        $alipayTradeAppPayApiInParam_8->setFullParamName("goodsType");
        $alipayTradeAppPayApiInParam_8->setEnName("goods_type");
        $alipayTradeAppPayApiInParam_8->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_8->getBizContent());

        $alipayTradeAppPayApiInParam_9 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_9->setBaseType($alipayTradeAppPayApiInParam_9::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_9->setTitle("优惠参数");
        $alipayTradeAppPayApiInParam_9->setDesc(" 注：仅与支付宝协商后可用");
        $alipayTradeAppPayApiInParam_9->setIsMust(3);
        $alipayTradeAppPayApiInParam_9->setIsListType(false);
        $alipayTradeAppPayApiInParam_9->setFullParamName("promoParams");
        $alipayTradeAppPayApiInParam_9->setEnName("promo_params");
        $alipayTradeAppPayApiInParam_9->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_9->getBizContent());

        $alipayTradeAppPayApiInParam_10 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_10->setBaseType($alipayTradeAppPayApiInParam_10::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_10->setTitle("公用回传参数");
        $alipayTradeAppPayApiInParam_10->setDesc("如果请求时传递了该参数，则返回给商户时会回传该参数。支付宝只会在同步返回（包括跳转回商户网站）和异步通知时将该参数原样返回。本参数必须进行UrlEncode之后才可以发送给支付宝。");
        $alipayTradeAppPayApiInParam_10->setIsMust(3);
        $alipayTradeAppPayApiInParam_10->setIsListType(false);
        $alipayTradeAppPayApiInParam_10->setFullParamName("passbackParams");
        $alipayTradeAppPayApiInParam_10->setEnName("passback_params");
        $alipayTradeAppPayApiInParam_10->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_10->getBizContent());

        $alipayTradeAppPayApiInParam_11 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_11->setBaseType($alipayTradeAppPayApiInParam_11::$TYPE_COMPLEXTYPE);
        $alipayTradeAppPayApiInParam_11->setTitle("描述分账信息");
        $alipayTradeAppPayApiInParam_11->setDesc("json格式，详见分账参数说明");
        $alipayTradeAppPayApiInParam_11->setIsMust(3);
        $alipayTradeAppPayApiInParam_11->setIsListType(false);
        $alipayTradeAppPayApiInParam_11->setFullParamName("royaltyInfo");
        $alipayTradeAppPayApiInParam_11->setEnName("royalty_info");
        $alipayTradeAppPayApiInParam_11->setChilds("");
    
    // $alipayTradeAppPayApiInParam_11Childs[] = new ApiParamModel();

            $alipayTradeAppPayApiInParam_11_1 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_11_1->setBaseType($alipayTradeAppPayApiInParam_11_1::$TYPE_COMPLEXTYPE);
        $alipayTradeAppPayApiInParam_11_1->setTitle("分账明细的信息");
        $alipayTradeAppPayApiInParam_11_1->setDesc("可以描述多条分账指令，json数组。");
        $alipayTradeAppPayApiInParam_11_1->setIsMust(1);
        $alipayTradeAppPayApiInParam_11_1->setIsListType(true);
        $alipayTradeAppPayApiInParam_11_1->setFullParamName("royaltyInfo.royaltyDetailInfos[0]");
        $alipayTradeAppPayApiInParam_11_1->setEnName("royalty_detail_infos");
        $alipayTradeAppPayApiInParam_11_1->setChilds("");
    
    // $alipayTradeAppPayApiInParam_11_1Childs[] = new ApiParamModel();

            $alipayTradeAppPayApiInParam_11_1_2 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_11_1_2->setBaseType($alipayTradeAppPayApiInParam_11_1_2::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_11_1_2->setTitle("分账批次号");
        $alipayTradeAppPayApiInParam_11_1_2->setDesc(" 分账批次号。  目前需要和转入账号类型为bankIndex配合使用。");
        $alipayTradeAppPayApiInParam_11_1_2->setIsMust(1);
        $alipayTradeAppPayApiInParam_11_1_2->setIsListType(false);
        $alipayTradeAppPayApiInParam_11_1_2->setFullParamName("royaltyInfo.royaltyDetailInfos[0].batchNo");
        $alipayTradeAppPayApiInParam_11_1_2->setEnName("batch_no");
        $alipayTradeAppPayApiInParam_11_1_2->setChilds("");
        $alipayTradeAppPayApiInParam_11_1Childs[] = json_decode($alipayTradeAppPayApiInParam_11_1_2->getBizContent());

        $alipayTradeAppPayApiInParam_11_1_4 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_11_1_4->setBaseType($alipayTradeAppPayApiInParam_11_1_4::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_11_1_4->setTitle("要分账的账户类型");
        $alipayTradeAppPayApiInParam_11_1_4->setDesc("  目前只支持userId：支付宝账号对应的支付宝唯一用户号。  默认值为userId。");
        $alipayTradeAppPayApiInParam_11_1_4->setIsMust(1);
        $alipayTradeAppPayApiInParam_11_1_4->setIsListType(false);
        $alipayTradeAppPayApiInParam_11_1_4->setFullParamName("royaltyInfo.royaltyDetailInfos[0].transOutType");
        $alipayTradeAppPayApiInParam_11_1_4->setEnName("trans_out_type");
        $alipayTradeAppPayApiInParam_11_1_4->setChilds("");
        $alipayTradeAppPayApiInParam_11_1Childs[] = json_decode($alipayTradeAppPayApiInParam_11_1_4->getBizContent());

        $alipayTradeAppPayApiInParam_11_1_5 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_11_1_5->setBaseType($alipayTradeAppPayApiInParam_11_1_5::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_11_1_5->setTitle("如果转出账号类型为userId");
        $alipayTradeAppPayApiInParam_11_1_5->setDesc("本参数为要分账的支付宝账号对应的支付宝唯一用户号。以2088开头的纯16位数字。");
        $alipayTradeAppPayApiInParam_11_1_5->setIsMust(1);
        $alipayTradeAppPayApiInParam_11_1_5->setIsListType(false);
        $alipayTradeAppPayApiInParam_11_1_5->setFullParamName("royaltyInfo.royaltyDetailInfos[0].transOut");
        $alipayTradeAppPayApiInParam_11_1_5->setEnName("trans_out");
        $alipayTradeAppPayApiInParam_11_1_5->setChilds("");
        $alipayTradeAppPayApiInParam_11_1Childs[] = json_decode($alipayTradeAppPayApiInParam_11_1_5->getBizContent());

        $alipayTradeAppPayApiInParam_11_1_6 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_11_1_6->setBaseType($alipayTradeAppPayApiInParam_11_1_6::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_11_1_6->setTitle("如果转入账号类型为userId");
        $alipayTradeAppPayApiInParam_11_1_6->setDesc("本参数为接受分账金额的支付宝账号对应的支付宝唯一用户号。以2088开头的纯16位数字。  &#61548;	如果转入账号类型为bankIndex，本参数为28位的银行编号（商户和支付宝签约时确定）。  如果转入账号类型为storeId，本参数为商户的门店ID。");
        $alipayTradeAppPayApiInParam_11_1_6->setIsMust(1);
        $alipayTradeAppPayApiInParam_11_1_6->setIsListType(false);
        $alipayTradeAppPayApiInParam_11_1_6->setFullParamName("royaltyInfo.royaltyDetailInfos[0].transIn");
        $alipayTradeAppPayApiInParam_11_1_6->setEnName("trans_in");
        $alipayTradeAppPayApiInParam_11_1_6->setChilds("");
        $alipayTradeAppPayApiInParam_11_1Childs[] = json_decode($alipayTradeAppPayApiInParam_11_1_6->getBizContent());

        $alipayTradeAppPayApiInParam_11_1_7 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_11_1_7->setBaseType($alipayTradeAppPayApiInParam_11_1_7::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_11_1_7->setTitle("分账的金额");
        $alipayTradeAppPayApiInParam_11_1_7->setDesc("单位为元");
        $alipayTradeAppPayApiInParam_11_1_7->setIsMust(1);
        $alipayTradeAppPayApiInParam_11_1_7->setIsListType(false);
        $alipayTradeAppPayApiInParam_11_1_7->setFullParamName("royaltyInfo.royaltyDetailInfos[0].amount");
        $alipayTradeAppPayApiInParam_11_1_7->setEnName("amount");
        $alipayTradeAppPayApiInParam_11_1_7->setChilds("");
        $alipayTradeAppPayApiInParam_11_1Childs[] = json_decode($alipayTradeAppPayApiInParam_11_1_7->getBizContent());

        $alipayTradeAppPayApiInParam_11_1_0 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_11_1_0->setBaseType($alipayTradeAppPayApiInParam_11_1_0::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_11_1_0->setTitle("分账序列号");
        $alipayTradeAppPayApiInParam_11_1_0->setDesc("表示分账执行的顺序，必须为正整数");
        $alipayTradeAppPayApiInParam_11_1_0->setIsMust(3);
        $alipayTradeAppPayApiInParam_11_1_0->setIsListType(false);
        $alipayTradeAppPayApiInParam_11_1_0->setFullParamName("royaltyInfo.royaltyDetailInfos[0].serialNo");
        $alipayTradeAppPayApiInParam_11_1_0->setEnName("serial_no");
        $alipayTradeAppPayApiInParam_11_1_0->setChilds("");
        $alipayTradeAppPayApiInParam_11_1Childs[] = json_decode($alipayTradeAppPayApiInParam_11_1_0->getBizContent());

        $alipayTradeAppPayApiInParam_11_1_1 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_11_1_1->setBaseType($alipayTradeAppPayApiInParam_11_1_1::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_11_1_1->setTitle("接受分账金额的账户类型：");
        $alipayTradeAppPayApiInParam_11_1_1->setDesc(" &#61548;	userId：支付宝账号对应的支付宝唯一用户号。  &#61548;	bankIndex：分账到银行账户的银行编号。目前暂时只支持分账到一个银行编号。  storeId：分账到门店对应的银行卡编号。  默认值为userId。");
        $alipayTradeAppPayApiInParam_11_1_1->setIsMust(3);
        $alipayTradeAppPayApiInParam_11_1_1->setIsListType(false);
        $alipayTradeAppPayApiInParam_11_1_1->setFullParamName("royaltyInfo.royaltyDetailInfos[0].transInType");
        $alipayTradeAppPayApiInParam_11_1_1->setEnName("trans_in_type");
        $alipayTradeAppPayApiInParam_11_1_1->setChilds("");
        $alipayTradeAppPayApiInParam_11_1Childs[] = json_decode($alipayTradeAppPayApiInParam_11_1_1->getBizContent());

        $alipayTradeAppPayApiInParam_11_1_3 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_11_1_3->setBaseType($alipayTradeAppPayApiInParam_11_1_3::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_11_1_3->setTitle("商户分账的外部关联号");
        $alipayTradeAppPayApiInParam_11_1_3->setDesc("用于关联到每一笔分账信息，商户需保证其唯一性。  如果为空，该值则默认为“商户网站唯一订单号+分账序列号”");
        $alipayTradeAppPayApiInParam_11_1_3->setIsMust(3);
        $alipayTradeAppPayApiInParam_11_1_3->setIsListType(false);
        $alipayTradeAppPayApiInParam_11_1_3->setFullParamName("royaltyInfo.royaltyDetailInfos[0].outRelationId");
        $alipayTradeAppPayApiInParam_11_1_3->setEnName("out_relation_id");
        $alipayTradeAppPayApiInParam_11_1_3->setChilds("");
        $alipayTradeAppPayApiInParam_11_1Childs[] = json_decode($alipayTradeAppPayApiInParam_11_1_3->getBizContent());

        $alipayTradeAppPayApiInParam_11_1_8 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_11_1_8->setBaseType($alipayTradeAppPayApiInParam_11_1_8::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_11_1_8->setTitle("分账描述信息");
        $alipayTradeAppPayApiInParam_11_1_8->setDesc("");
        $alipayTradeAppPayApiInParam_11_1_8->setIsMust(3);
        $alipayTradeAppPayApiInParam_11_1_8->setIsListType(false);
        $alipayTradeAppPayApiInParam_11_1_8->setFullParamName("royaltyInfo.royaltyDetailInfos[0].desc");
        $alipayTradeAppPayApiInParam_11_1_8->setEnName("desc");
        $alipayTradeAppPayApiInParam_11_1_8->setChilds("");
        $alipayTradeAppPayApiInParam_11_1Childs[] = json_decode($alipayTradeAppPayApiInParam_11_1_8->getBizContent());

        $alipayTradeAppPayApiInParam_11_1_9 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_11_1_9->setBaseType($alipayTradeAppPayApiInParam_11_1_9::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_11_1_9->setTitle("分账的比例");
        $alipayTradeAppPayApiInParam_11_1_9->setDesc("值为20代表按20%的比例分账");
        $alipayTradeAppPayApiInParam_11_1_9->setIsMust(3);
        $alipayTradeAppPayApiInParam_11_1_9->setIsListType(false);
        $alipayTradeAppPayApiInParam_11_1_9->setFullParamName("royaltyInfo.royaltyDetailInfos[0].amountPercentage");
        $alipayTradeAppPayApiInParam_11_1_9->setEnName("amount_percentage");
        $alipayTradeAppPayApiInParam_11_1_9->setChilds("");
        $alipayTradeAppPayApiInParam_11_1Childs[] = json_decode($alipayTradeAppPayApiInParam_11_1_9->getBizContent());

            $alipayTradeAppPayApiInParam_11_1->setChilds($alipayTradeAppPayApiInParam_11_1Childs);

        $alipayTradeAppPayApiInParam_11Childs[] = json_decode($alipayTradeAppPayApiInParam_11_1->getBizContent());

        $alipayTradeAppPayApiInParam_11_0 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_11_0->setBaseType($alipayTradeAppPayApiInParam_11_0::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_11_0->setTitle("分账类型");
        $alipayTradeAppPayApiInParam_11_0->setDesc(" 卖家的分账类型，目前只支持传入ROYALTY（普通分账类型）。");
        $alipayTradeAppPayApiInParam_11_0->setIsMust(3);
        $alipayTradeAppPayApiInParam_11_0->setIsListType(false);
        $alipayTradeAppPayApiInParam_11_0->setFullParamName("royaltyInfo.royaltyType");
        $alipayTradeAppPayApiInParam_11_0->setEnName("royalty_type");
        $alipayTradeAppPayApiInParam_11_0->setChilds("");
        $alipayTradeAppPayApiInParam_11Childs[] = json_decode($alipayTradeAppPayApiInParam_11_0->getBizContent());

            $alipayTradeAppPayApiInParam_11->setChilds($alipayTradeAppPayApiInParam_11Childs);

        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_11->getBizContent());

        $alipayTradeAppPayApiInParam_12 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_12->setBaseType($alipayTradeAppPayApiInParam_12::$TYPE_COMPLEXTYPE);
        $alipayTradeAppPayApiInParam_12->setTitle("业务扩展参数");
        $alipayTradeAppPayApiInParam_12->setDesc("");
        $alipayTradeAppPayApiInParam_12->setIsMust(3);
        $alipayTradeAppPayApiInParam_12->setIsListType(false);
        $alipayTradeAppPayApiInParam_12->setFullParamName("extendParams");
        $alipayTradeAppPayApiInParam_12->setEnName("extend_params");
        $alipayTradeAppPayApiInParam_12->setChilds("");
    
    // $alipayTradeAppPayApiInParam_12Childs[] = new ApiParamModel();

            $alipayTradeAppPayApiInParam_12_0 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_12_0->setBaseType($alipayTradeAppPayApiInParam_12_0::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_12_0->setTitle("系统商编号");
        $alipayTradeAppPayApiInParam_12_0->setDesc(" 该参数作为系统商返佣数据提取的依据，请填写系统商签约协议的PID");
        $alipayTradeAppPayApiInParam_12_0->setIsMust(3);
        $alipayTradeAppPayApiInParam_12_0->setIsListType(false);
        $alipayTradeAppPayApiInParam_12_0->setFullParamName("extendParams.sysServiceProviderId");
        $alipayTradeAppPayApiInParam_12_0->setEnName("sys_service_provider_id");
        $alipayTradeAppPayApiInParam_12_0->setChilds("");
        $alipayTradeAppPayApiInParam_12Childs[] = json_decode($alipayTradeAppPayApiInParam_12_0->getBizContent());

        $alipayTradeAppPayApiInParam_12_1 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_12_1->setBaseType($alipayTradeAppPayApiInParam_12_1::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_12_1->setTitle("使用花呗分期要进行的分期数");
        $alipayTradeAppPayApiInParam_12_1->setDesc("");
        $alipayTradeAppPayApiInParam_12_1->setIsMust(3);
        $alipayTradeAppPayApiInParam_12_1->setIsListType(false);
        $alipayTradeAppPayApiInParam_12_1->setFullParamName("extendParams.hbFqNum");
        $alipayTradeAppPayApiInParam_12_1->setEnName("hb_fq_num");
        $alipayTradeAppPayApiInParam_12_1->setChilds("");
        $alipayTradeAppPayApiInParam_12Childs[] = json_decode($alipayTradeAppPayApiInParam_12_1->getBizContent());

        $alipayTradeAppPayApiInParam_12_2 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_12_2->setBaseType($alipayTradeAppPayApiInParam_12_2::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_12_2->setTitle("使用花呗分期需要卖家承担的手续费比例的百分值");
        $alipayTradeAppPayApiInParam_12_2->setDesc("传入100代表100%");
        $alipayTradeAppPayApiInParam_12_2->setIsMust(3);
        $alipayTradeAppPayApiInParam_12_2->setIsListType(false);
        $alipayTradeAppPayApiInParam_12_2->setFullParamName("extendParams.hbFqSellerPercent");
        $alipayTradeAppPayApiInParam_12_2->setEnName("hb_fq_seller_percent");
        $alipayTradeAppPayApiInParam_12_2->setChilds("");
        $alipayTradeAppPayApiInParam_12Childs[] = json_decode($alipayTradeAppPayApiInParam_12_2->getBizContent());

        $alipayTradeAppPayApiInParam_12_3 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_12_3->setBaseType($alipayTradeAppPayApiInParam_12_3::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_12_3->setTitle("行业数据回流信息");
        $alipayTradeAppPayApiInParam_12_3->setDesc(" 详见：地铁支付接口参数补充说明");
        $alipayTradeAppPayApiInParam_12_3->setIsMust(3);
        $alipayTradeAppPayApiInParam_12_3->setIsListType(false);
        $alipayTradeAppPayApiInParam_12_3->setFullParamName("extendParams.industryRefluxInfo");
        $alipayTradeAppPayApiInParam_12_3->setEnName("industry_reflux_info");
        $alipayTradeAppPayApiInParam_12_3->setChilds("");
        $alipayTradeAppPayApiInParam_12Childs[] = json_decode($alipayTradeAppPayApiInParam_12_3->getBizContent());

        $alipayTradeAppPayApiInParam_12_4 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_12_4->setBaseType($alipayTradeAppPayApiInParam_12_4::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_12_4->setTitle("卡类型");
        $alipayTradeAppPayApiInParam_12_4->setDesc("");
        $alipayTradeAppPayApiInParam_12_4->setIsMust(3);
        $alipayTradeAppPayApiInParam_12_4->setIsListType(false);
        $alipayTradeAppPayApiInParam_12_4->setFullParamName("extendParams.cardType");
        $alipayTradeAppPayApiInParam_12_4->setEnName("card_type");
        $alipayTradeAppPayApiInParam_12_4->setChilds("");
        $alipayTradeAppPayApiInParam_12Childs[] = json_decode($alipayTradeAppPayApiInParam_12_4->getBizContent());

            $alipayTradeAppPayApiInParam_12->setChilds($alipayTradeAppPayApiInParam_12Childs);

        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_12->getBizContent());

        $alipayTradeAppPayApiInParam_13 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_13->setBaseType($alipayTradeAppPayApiInParam_13::$TYPE_COMPLEXTYPE);
        $alipayTradeAppPayApiInParam_13->setTitle("间连受理商户信息体");
        $alipayTradeAppPayApiInParam_13->setDesc("当前只对特殊银行机构特定场景下使用此字段");
        $alipayTradeAppPayApiInParam_13->setIsMust(3);
        $alipayTradeAppPayApiInParam_13->setIsListType(false);
        $alipayTradeAppPayApiInParam_13->setFullParamName("subMerchant");
        $alipayTradeAppPayApiInParam_13->setEnName("sub_merchant");
        $alipayTradeAppPayApiInParam_13->setChilds("");
    
    // $alipayTradeAppPayApiInParam_13Childs[] = new ApiParamModel();

            $alipayTradeAppPayApiInParam_13_0 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_13_0->setBaseType($alipayTradeAppPayApiInParam_13_0::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_13_0->setTitle("间连受理商户的支付宝商户编号");
        $alipayTradeAppPayApiInParam_13_0->setDesc("通过间连商户入驻后得到。间连业务下必传，并且需要按规范传递受理商户编号。");
        $alipayTradeAppPayApiInParam_13_0->setIsMust(1);
        $alipayTradeAppPayApiInParam_13_0->setIsListType(false);
        $alipayTradeAppPayApiInParam_13_0->setFullParamName("subMerchant.merchantId");
        $alipayTradeAppPayApiInParam_13_0->setEnName("merchant_id");
        $alipayTradeAppPayApiInParam_13_0->setChilds("");
        $alipayTradeAppPayApiInParam_13Childs[] = json_decode($alipayTradeAppPayApiInParam_13_0->getBizContent());

        $alipayTradeAppPayApiInParam_13_1 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_13_1->setBaseType($alipayTradeAppPayApiInParam_13_1::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_13_1->setTitle("商户id类型");
        $alipayTradeAppPayApiInParam_13_1->setDesc("");
        $alipayTradeAppPayApiInParam_13_1->setIsMust(3);
        $alipayTradeAppPayApiInParam_13_1->setIsListType(false);
        $alipayTradeAppPayApiInParam_13_1->setFullParamName("subMerchant.merchantType");
        $alipayTradeAppPayApiInParam_13_1->setEnName("merchant_type");
        $alipayTradeAppPayApiInParam_13_1->setChilds("");
        $alipayTradeAppPayApiInParam_13Childs[] = json_decode($alipayTradeAppPayApiInParam_13_1->getBizContent());

            $alipayTradeAppPayApiInParam_13->setChilds($alipayTradeAppPayApiInParam_13Childs);

        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_13->getBizContent());

        $alipayTradeAppPayApiInParam_14 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_14->setBaseType($alipayTradeAppPayApiInParam_14::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_14->setTitle("商品数量");
        $alipayTradeAppPayApiInParam_14->setDesc("");
        $alipayTradeAppPayApiInParam_14->setIsMust(3);
        $alipayTradeAppPayApiInParam_14->setIsListType(false);
        $alipayTradeAppPayApiInParam_14->setFullParamName("quantity");
        $alipayTradeAppPayApiInParam_14->setEnName("quantity");
        $alipayTradeAppPayApiInParam_14->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_14->getBizContent());

        $alipayTradeAppPayApiInParam_15 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_15->setBaseType($alipayTradeAppPayApiInParam_15::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_15->setTitle("可用渠道");
        $alipayTradeAppPayApiInParam_15->setDesc("用户只能在指定渠道范围内支付  当有多个渠道时用“,”分隔  注，与disable_pay_channels互斥");
        $alipayTradeAppPayApiInParam_15->setIsMust(3);
        $alipayTradeAppPayApiInParam_15->setIsListType(false);
        $alipayTradeAppPayApiInParam_15->setFullParamName("enablePayChannels");
        $alipayTradeAppPayApiInParam_15->setEnName("enable_pay_channels");
        $alipayTradeAppPayApiInParam_15->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_15->getBizContent());

        $alipayTradeAppPayApiInParam_16 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_16->setBaseType($alipayTradeAppPayApiInParam_16::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_16->setTitle("商户门店编号");
        $alipayTradeAppPayApiInParam_16->setDesc("");
        $alipayTradeAppPayApiInParam_16->setIsMust(3);
        $alipayTradeAppPayApiInParam_16->setIsListType(false);
        $alipayTradeAppPayApiInParam_16->setFullParamName("storeId");
        $alipayTradeAppPayApiInParam_16->setEnName("store_id");
        $alipayTradeAppPayApiInParam_16->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_16->getBizContent());

        $alipayTradeAppPayApiInParam_17 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_17->setBaseType($alipayTradeAppPayApiInParam_17::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_17->setTitle("指定渠道");
        $alipayTradeAppPayApiInParam_17->setDesc("目前仅支持传入pcredit  若由于用户原因渠道不可用，用户可选择是否用其他渠道支付。  注：该参数不可与花呗分期参数同时传入");
        $alipayTradeAppPayApiInParam_17->setIsMust(3);
        $alipayTradeAppPayApiInParam_17->setIsListType(false);
        $alipayTradeAppPayApiInParam_17->setFullParamName("specifiedChannel");
        $alipayTradeAppPayApiInParam_17->setEnName("specified_channel");
        $alipayTradeAppPayApiInParam_17->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_17->getBizContent());

        $alipayTradeAppPayApiInParam_18 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_18->setBaseType($alipayTradeAppPayApiInParam_18::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_18->setTitle("禁用渠道");
        $alipayTradeAppPayApiInParam_18->setDesc("用户不可用指定渠道支付  当有多个渠道时用“,”分隔  注，与enable_pay_channels互斥");
        $alipayTradeAppPayApiInParam_18->setIsMust(3);
        $alipayTradeAppPayApiInParam_18->setIsListType(false);
        $alipayTradeAppPayApiInParam_18->setFullParamName("disablePayChannels");
        $alipayTradeAppPayApiInParam_18->setEnName("disable_pay_channels");
        $alipayTradeAppPayApiInParam_18->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_18->getBizContent());

        $alipayTradeAppPayApiInParam_19 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_19->setBaseType($alipayTradeAppPayApiInParam_19::$TYPE_COMPLEXTYPE);
        $alipayTradeAppPayApiInParam_19->setTitle("描述结算信息");
        $alipayTradeAppPayApiInParam_19->setDesc("json格式，详见结算参数说明");
        $alipayTradeAppPayApiInParam_19->setIsMust(3);
        $alipayTradeAppPayApiInParam_19->setIsListType(false);
        $alipayTradeAppPayApiInParam_19->setFullParamName("settleInfo");
        $alipayTradeAppPayApiInParam_19->setEnName("settle_info");
        $alipayTradeAppPayApiInParam_19->setChilds("");
    
    // $alipayTradeAppPayApiInParam_19Childs[] = new ApiParamModel();

            $alipayTradeAppPayApiInParam_19_0 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_19_0->setBaseType($alipayTradeAppPayApiInParam_19_0::$TYPE_COMPLEXTYPE);
        $alipayTradeAppPayApiInParam_19_0->setTitle("结算详细信息");
        $alipayTradeAppPayApiInParam_19_0->setDesc("json数组，目前只支持一条。");
        $alipayTradeAppPayApiInParam_19_0->setIsMust(1);
        $alipayTradeAppPayApiInParam_19_0->setIsListType(true);
        $alipayTradeAppPayApiInParam_19_0->setFullParamName("settleInfo.settleDetailInfos[0]");
        $alipayTradeAppPayApiInParam_19_0->setEnName("settle_detail_infos");
        $alipayTradeAppPayApiInParam_19_0->setChilds("");
    
    // $alipayTradeAppPayApiInParam_19_0Childs[] = new ApiParamModel();

            $alipayTradeAppPayApiInParam_19_0_0 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_19_0_0->setBaseType($alipayTradeAppPayApiInParam_19_0_0::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_19_0_0->setTitle("结算收款方的账户类型");
        $alipayTradeAppPayApiInParam_19_0_0->setDesc("    cardSerialNo：结算收款方的银行卡编号;    userId：表示是支付宝账号对应的支付宝唯一用户号;  loginName：表示是支付宝登录号；");
        $alipayTradeAppPayApiInParam_19_0_0->setIsMust(1);
        $alipayTradeAppPayApiInParam_19_0_0->setIsListType(false);
        $alipayTradeAppPayApiInParam_19_0_0->setFullParamName("settleInfo.settleDetailInfos[0].transInType");
        $alipayTradeAppPayApiInParam_19_0_0->setEnName("trans_in_type");
        $alipayTradeAppPayApiInParam_19_0_0->setChilds("");
        $alipayTradeAppPayApiInParam_19_0Childs[] = json_decode($alipayTradeAppPayApiInParam_19_0_0->getBizContent());

        $alipayTradeAppPayApiInParam_19_0_1 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_19_0_1->setBaseType($alipayTradeAppPayApiInParam_19_0_1::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_19_0_1->setTitle("结算收款方");
        $alipayTradeAppPayApiInParam_19_0_1->setDesc("当结算收款方类型是cardSerialNo时，本参数为用户在支付宝绑定的卡编号；结算收款方类型是userId时，本参数为用户的支付宝账号对应的支付宝唯一用户号，以2088开头的纯16位数字；当结算收款方类型是loginName时，本参数为用户的支付宝登录号");
        $alipayTradeAppPayApiInParam_19_0_1->setIsMust(1);
        $alipayTradeAppPayApiInParam_19_0_1->setIsListType(false);
        $alipayTradeAppPayApiInParam_19_0_1->setFullParamName("settleInfo.settleDetailInfos[0].transIn");
        $alipayTradeAppPayApiInParam_19_0_1->setEnName("trans_in");
        $alipayTradeAppPayApiInParam_19_0_1->setChilds("");
        $alipayTradeAppPayApiInParam_19_0Childs[] = json_decode($alipayTradeAppPayApiInParam_19_0_1->getBizContent());

        $alipayTradeAppPayApiInParam_19_0_5 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_19_0_5->setBaseType($alipayTradeAppPayApiInParam_19_0_5::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_19_0_5->setTitle("结算的金额");
        $alipayTradeAppPayApiInParam_19_0_5->setDesc("单位为元。目前必须和交易金额相同");
        $alipayTradeAppPayApiInParam_19_0_5->setIsMust(1);
        $alipayTradeAppPayApiInParam_19_0_5->setIsListType(false);
        $alipayTradeAppPayApiInParam_19_0_5->setFullParamName("settleInfo.settleDetailInfos[0].amount");
        $alipayTradeAppPayApiInParam_19_0_5->setEnName("amount");
        $alipayTradeAppPayApiInParam_19_0_5->setChilds("");
        $alipayTradeAppPayApiInParam_19_0Childs[] = json_decode($alipayTradeAppPayApiInParam_19_0_5->getBizContent());

        $alipayTradeAppPayApiInParam_19_0_2 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_19_0_2->setBaseType($alipayTradeAppPayApiInParam_19_0_2::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_19_0_2->setTitle("结算汇总维度");
        $alipayTradeAppPayApiInParam_19_0_2->setDesc("按照这个维度汇总成批次结算，由商户指定。    目前需要和结算收款方账户类型为cardSerialNo配合使用");
        $alipayTradeAppPayApiInParam_19_0_2->setIsMust(3);
        $alipayTradeAppPayApiInParam_19_0_2->setIsListType(false);
        $alipayTradeAppPayApiInParam_19_0_2->setFullParamName("settleInfo.settleDetailInfos[0].summaryDimension");
        $alipayTradeAppPayApiInParam_19_0_2->setEnName("summary_dimension");
        $alipayTradeAppPayApiInParam_19_0_2->setChilds("");
        $alipayTradeAppPayApiInParam_19_0Childs[] = json_decode($alipayTradeAppPayApiInParam_19_0_2->getBizContent());

        $alipayTradeAppPayApiInParam_19_0_3 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_19_0_3->setBaseType($alipayTradeAppPayApiInParam_19_0_3::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_19_0_3->setTitle("结算主体标识");
        $alipayTradeAppPayApiInParam_19_0_3->setDesc("当结算主体类型为SecondMerchant时，为二级商户的SecondMerchantID；当结算主体类型为Store时，为门店的外标。");
        $alipayTradeAppPayApiInParam_19_0_3->setIsMust(3);
        $alipayTradeAppPayApiInParam_19_0_3->setIsListType(false);
        $alipayTradeAppPayApiInParam_19_0_3->setFullParamName("settleInfo.settleDetailInfos[0].settleEntityId");
        $alipayTradeAppPayApiInParam_19_0_3->setEnName("settle_entity_id");
        $alipayTradeAppPayApiInParam_19_0_3->setChilds("");
        $alipayTradeAppPayApiInParam_19_0Childs[] = json_decode($alipayTradeAppPayApiInParam_19_0_3->getBizContent());

        $alipayTradeAppPayApiInParam_19_0_4 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_19_0_4->setBaseType($alipayTradeAppPayApiInParam_19_0_4::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_19_0_4->setTitle("结算主体类型");
        $alipayTradeAppPayApiInParam_19_0_4->setDesc("  二级商户:SecondMerchant;商户或者直连商户门店:Store");
        $alipayTradeAppPayApiInParam_19_0_4->setIsMust(3);
        $alipayTradeAppPayApiInParam_19_0_4->setIsListType(false);
        $alipayTradeAppPayApiInParam_19_0_4->setFullParamName("settleInfo.settleDetailInfos[0].settleEntityType");
        $alipayTradeAppPayApiInParam_19_0_4->setEnName("settle_entity_type");
        $alipayTradeAppPayApiInParam_19_0_4->setChilds("");
        $alipayTradeAppPayApiInParam_19_0Childs[] = json_decode($alipayTradeAppPayApiInParam_19_0_4->getBizContent());

            $alipayTradeAppPayApiInParam_19_0->setChilds($alipayTradeAppPayApiInParam_19_0Childs);

        $alipayTradeAppPayApiInParam_19Childs[] = json_decode($alipayTradeAppPayApiInParam_19_0->getBizContent());

            $alipayTradeAppPayApiInParam_19->setChilds($alipayTradeAppPayApiInParam_19Childs);

        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_19->getBizContent());

        $alipayTradeAppPayApiInParam_20 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_20->setBaseType($alipayTradeAppPayApiInParam_20::$TYPE_COMPLEXTYPE);
        $alipayTradeAppPayApiInParam_20->setTitle("开票信息");
        $alipayTradeAppPayApiInParam_20->setDesc("");
        $alipayTradeAppPayApiInParam_20->setIsMust(3);
        $alipayTradeAppPayApiInParam_20->setIsListType(false);
        $alipayTradeAppPayApiInParam_20->setFullParamName("invoiceInfo");
        $alipayTradeAppPayApiInParam_20->setEnName("invoice_info");
        $alipayTradeAppPayApiInParam_20->setChilds("");
    
    // $alipayTradeAppPayApiInParam_20Childs[] = new ApiParamModel();

            $alipayTradeAppPayApiInParam_20_0 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_20_0->setBaseType($alipayTradeAppPayApiInParam_20_0::$TYPE_COMPLEXTYPE);
        $alipayTradeAppPayApiInParam_20_0->setTitle("开票关键信息");
        $alipayTradeAppPayApiInParam_20_0->setDesc("");
        $alipayTradeAppPayApiInParam_20_0->setIsMust(1);
        $alipayTradeAppPayApiInParam_20_0->setIsListType(false);
        $alipayTradeAppPayApiInParam_20_0->setFullParamName("invoiceInfo.keyInfo");
        $alipayTradeAppPayApiInParam_20_0->setEnName("key_info");
        $alipayTradeAppPayApiInParam_20_0->setChilds("");
    
    // $alipayTradeAppPayApiInParam_20_0Childs[] = new ApiParamModel();

            $alipayTradeAppPayApiInParam_20_0_0 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_20_0_0->setBaseType($alipayTradeAppPayApiInParam_20_0_0::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_20_0_0->setTitle("该交易是否支持开票");
        $alipayTradeAppPayApiInParam_20_0_0->setDesc("");
        $alipayTradeAppPayApiInParam_20_0_0->setIsMust(1);
        $alipayTradeAppPayApiInParam_20_0_0->setIsListType(false);
        $alipayTradeAppPayApiInParam_20_0_0->setFullParamName("invoiceInfo.keyInfo.isSupportInvoice");
        $alipayTradeAppPayApiInParam_20_0_0->setEnName("is_support_invoice");
        $alipayTradeAppPayApiInParam_20_0_0->setChilds("");
        $alipayTradeAppPayApiInParam_20_0Childs[] = json_decode($alipayTradeAppPayApiInParam_20_0_0->getBizContent());

        $alipayTradeAppPayApiInParam_20_0_1 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_20_0_1->setBaseType($alipayTradeAppPayApiInParam_20_0_1::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_20_0_1->setTitle("开票商户名称：商户品牌简称|商户门店简称");
        $alipayTradeAppPayApiInParam_20_0_1->setDesc("");
        $alipayTradeAppPayApiInParam_20_0_1->setIsMust(1);
        $alipayTradeAppPayApiInParam_20_0_1->setIsListType(false);
        $alipayTradeAppPayApiInParam_20_0_1->setFullParamName("invoiceInfo.keyInfo.invoiceMerchantName");
        $alipayTradeAppPayApiInParam_20_0_1->setEnName("invoice_merchant_name");
        $alipayTradeAppPayApiInParam_20_0_1->setChilds("");
        $alipayTradeAppPayApiInParam_20_0Childs[] = json_decode($alipayTradeAppPayApiInParam_20_0_1->getBizContent());

        $alipayTradeAppPayApiInParam_20_0_2 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_20_0_2->setBaseType($alipayTradeAppPayApiInParam_20_0_2::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_20_0_2->setTitle("税号");
        $alipayTradeAppPayApiInParam_20_0_2->setDesc("");
        $alipayTradeAppPayApiInParam_20_0_2->setIsMust(1);
        $alipayTradeAppPayApiInParam_20_0_2->setIsListType(false);
        $alipayTradeAppPayApiInParam_20_0_2->setFullParamName("invoiceInfo.keyInfo.taxNum");
        $alipayTradeAppPayApiInParam_20_0_2->setEnName("tax_num");
        $alipayTradeAppPayApiInParam_20_0_2->setChilds("");
        $alipayTradeAppPayApiInParam_20_0Childs[] = json_decode($alipayTradeAppPayApiInParam_20_0_2->getBizContent());

            $alipayTradeAppPayApiInParam_20_0->setChilds($alipayTradeAppPayApiInParam_20_0Childs);

        $alipayTradeAppPayApiInParam_20Childs[] = json_decode($alipayTradeAppPayApiInParam_20_0->getBizContent());

        $alipayTradeAppPayApiInParam_20_1 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_20_1->setBaseType($alipayTradeAppPayApiInParam_20_1::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_20_1->setTitle("开票内容");
        $alipayTradeAppPayApiInParam_20_1->setDesc(" 注：json数组格式");
        $alipayTradeAppPayApiInParam_20_1->setIsMust(1);
        $alipayTradeAppPayApiInParam_20_1->setIsListType(false);
        $alipayTradeAppPayApiInParam_20_1->setFullParamName("invoiceInfo.details");
        $alipayTradeAppPayApiInParam_20_1->setEnName("details");
        $alipayTradeAppPayApiInParam_20_1->setChilds("");
        $alipayTradeAppPayApiInParam_20Childs[] = json_decode($alipayTradeAppPayApiInParam_20_1->getBizContent());

            $alipayTradeAppPayApiInParam_20->setChilds($alipayTradeAppPayApiInParam_20Childs);

        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_20->getBizContent());

        $alipayTradeAppPayApiInParam_21 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_21->setBaseType($alipayTradeAppPayApiInParam_21::$TYPE_COMPLEXTYPE);
        $alipayTradeAppPayApiInParam_21->setTitle("外部指定买家");
        $alipayTradeAppPayApiInParam_21->setDesc("");
        $alipayTradeAppPayApiInParam_21->setIsMust(3);
        $alipayTradeAppPayApiInParam_21->setIsListType(false);
        $alipayTradeAppPayApiInParam_21->setFullParamName("extUserInfo");
        $alipayTradeAppPayApiInParam_21->setEnName("ext_user_info");
        $alipayTradeAppPayApiInParam_21->setChilds("");
    
    // $alipayTradeAppPayApiInParam_21Childs[] = new ApiParamModel();

            $alipayTradeAppPayApiInParam_21_0 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_21_0->setBaseType($alipayTradeAppPayApiInParam_21_0::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_21_0->setTitle("姓名");
        $alipayTradeAppPayApiInParam_21_0->setDesc("   注： need_check_info=T时该参数才有效");
        $alipayTradeAppPayApiInParam_21_0->setIsMust(3);
        $alipayTradeAppPayApiInParam_21_0->setIsListType(false);
        $alipayTradeAppPayApiInParam_21_0->setFullParamName("extUserInfo.name");
        $alipayTradeAppPayApiInParam_21_0->setEnName("name");
        $alipayTradeAppPayApiInParam_21_0->setChilds("");
        $alipayTradeAppPayApiInParam_21Childs[] = json_decode($alipayTradeAppPayApiInParam_21_0->getBizContent());

        $alipayTradeAppPayApiInParam_21_1 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_21_1->setBaseType($alipayTradeAppPayApiInParam_21_1::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_21_1->setTitle("手机号");
        $alipayTradeAppPayApiInParam_21_1->setDesc(" 注：该参数暂不校验");
        $alipayTradeAppPayApiInParam_21_1->setIsMust(3);
        $alipayTradeAppPayApiInParam_21_1->setIsListType(false);
        $alipayTradeAppPayApiInParam_21_1->setFullParamName("extUserInfo.mobile");
        $alipayTradeAppPayApiInParam_21_1->setEnName("mobile");
        $alipayTradeAppPayApiInParam_21_1->setChilds("");
        $alipayTradeAppPayApiInParam_21Childs[] = json_decode($alipayTradeAppPayApiInParam_21_1->getBizContent());

        $alipayTradeAppPayApiInParam_21_2 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_21_2->setBaseType($alipayTradeAppPayApiInParam_21_2::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_21_2->setTitle("身份证：IDENTITY_CARD、护照：PASSPORT、军官证：OFFICER_CARD、士兵证：SOLDIER_CARD、户口本：HOKOU等");
        $alipayTradeAppPayApiInParam_21_2->setDesc("如有其它类型需要支持，请与蚂蚁金服工作人员联系。    注： need_check_info=T时该参数才有效");
        $alipayTradeAppPayApiInParam_21_2->setIsMust(3);
        $alipayTradeAppPayApiInParam_21_2->setIsListType(false);
        $alipayTradeAppPayApiInParam_21_2->setFullParamName("extUserInfo.certType");
        $alipayTradeAppPayApiInParam_21_2->setEnName("cert_type");
        $alipayTradeAppPayApiInParam_21_2->setChilds("");
        $alipayTradeAppPayApiInParam_21Childs[] = json_decode($alipayTradeAppPayApiInParam_21_2->getBizContent());

        $alipayTradeAppPayApiInParam_21_3 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_21_3->setBaseType($alipayTradeAppPayApiInParam_21_3::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_21_3->setTitle("证件号");
        $alipayTradeAppPayApiInParam_21_3->setDesc("   注：need_check_info=T时该参数才有效");
        $alipayTradeAppPayApiInParam_21_3->setIsMust(3);
        $alipayTradeAppPayApiInParam_21_3->setIsListType(false);
        $alipayTradeAppPayApiInParam_21_3->setFullParamName("extUserInfo.certNo");
        $alipayTradeAppPayApiInParam_21_3->setEnName("cert_no");
        $alipayTradeAppPayApiInParam_21_3->setChilds("");
        $alipayTradeAppPayApiInParam_21Childs[] = json_decode($alipayTradeAppPayApiInParam_21_3->getBizContent());

        $alipayTradeAppPayApiInParam_21_4 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_21_4->setBaseType($alipayTradeAppPayApiInParam_21_4::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_21_4->setTitle("允许的最小买家年龄");
        $alipayTradeAppPayApiInParam_21_4->setDesc("买家年龄必须大于等于所传数值   注：  1. need_check_info=T时该参数才有效  2. min_age为整数，必须大于等于0");
        $alipayTradeAppPayApiInParam_21_4->setIsMust(3);
        $alipayTradeAppPayApiInParam_21_4->setIsListType(false);
        $alipayTradeAppPayApiInParam_21_4->setFullParamName("extUserInfo.minAge");
        $alipayTradeAppPayApiInParam_21_4->setEnName("min_age");
        $alipayTradeAppPayApiInParam_21_4->setChilds("");
        $alipayTradeAppPayApiInParam_21Childs[] = json_decode($alipayTradeAppPayApiInParam_21_4->getBizContent());

        $alipayTradeAppPayApiInParam_21_5 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_21_5->setBaseType($alipayTradeAppPayApiInParam_21_5::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_21_5->setTitle("是否强制校验付款人身份信息");
        $alipayTradeAppPayApiInParam_21_5->setDesc(" T:强制校验，F：不强制");
        $alipayTradeAppPayApiInParam_21_5->setIsMust(3);
        $alipayTradeAppPayApiInParam_21_5->setIsListType(false);
        $alipayTradeAppPayApiInParam_21_5->setFullParamName("extUserInfo.fixBuyer");
        $alipayTradeAppPayApiInParam_21_5->setEnName("fix_buyer");
        $alipayTradeAppPayApiInParam_21_5->setChilds("");
        $alipayTradeAppPayApiInParam_21Childs[] = json_decode($alipayTradeAppPayApiInParam_21_5->getBizContent());

        $alipayTradeAppPayApiInParam_21_6 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_21_6->setBaseType($alipayTradeAppPayApiInParam_21_6::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_21_6->setTitle("是否强制校验身份信息");
        $alipayTradeAppPayApiInParam_21_6->setDesc(" T:强制校验，F：不强制");
        $alipayTradeAppPayApiInParam_21_6->setIsMust(3);
        $alipayTradeAppPayApiInParam_21_6->setIsListType(false);
        $alipayTradeAppPayApiInParam_21_6->setFullParamName("extUserInfo.needCheckInfo");
        $alipayTradeAppPayApiInParam_21_6->setEnName("need_check_info");
        $alipayTradeAppPayApiInParam_21_6->setChilds("");
        $alipayTradeAppPayApiInParam_21Childs[] = json_decode($alipayTradeAppPayApiInParam_21_6->getBizContent());

            $alipayTradeAppPayApiInParam_21->setChilds($alipayTradeAppPayApiInParam_21Childs);

        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_21->getBizContent());

        $alipayTradeAppPayApiInParam_22 = new ApiParamModel();
        $alipayTradeAppPayApiInParam_22->setBaseType($alipayTradeAppPayApiInParam_22::$TYPE_BASETYPE);
        $alipayTradeAppPayApiInParam_22->setTitle("商户传入业务信息");
        $alipayTradeAppPayApiInParam_22->setDesc("具体值要和支付宝约定，应用于安全，营销等参数直传场景，格式为json格式");
        $alipayTradeAppPayApiInParam_22->setIsMust(3);
        $alipayTradeAppPayApiInParam_22->setIsListType(false);
        $alipayTradeAppPayApiInParam_22->setFullParamName("businessParams");
        $alipayTradeAppPayApiInParam_22->setEnName("business_params");
        $alipayTradeAppPayApiInParam_22->setChilds("");
        $alipayTradeAppPayApiInParamChilds[] = json_decode($alipayTradeAppPayApiInParam_22->getBizContent());

        $alipayTradeAppPayInfoModel->setApiInParam($alipayTradeAppPayApiInParamChilds);

        $alipayTradeAppPayApiOutParamChilds[] = new ApiParamModel();

            $alipayTradeAppPayApiOutParam_0 = new ApiParamModel();
        $alipayTradeAppPayApiOutParam_0->setBaseType($alipayTradeAppPayApiOutParam_0::$TYPE_BASETYPE);
        $alipayTradeAppPayApiOutParam_0->setTitle("商户网站唯一订单号");
        $alipayTradeAppPayApiOutParam_0->setDesc("");
        $alipayTradeAppPayApiOutParam_0->setIsMust(1);
        $alipayTradeAppPayApiOutParam_0->setIsListType(false);
        $alipayTradeAppPayApiOutParam_0->setFullParamName("outTradeNo");
        $alipayTradeAppPayApiOutParam_0->setEnName("out_trade_no");
        $alipayTradeAppPayApiOutParam_0->setChilds("");
        $alipayTradeAppPayApiOutParamChilds[] = json_decode($alipayTradeAppPayApiOutParam_0->getBizContent());

        $alipayTradeAppPayApiOutParam_1 = new ApiParamModel();
        $alipayTradeAppPayApiOutParam_1->setBaseType($alipayTradeAppPayApiOutParam_1::$TYPE_BASETYPE);
        $alipayTradeAppPayApiOutParam_1->setTitle("该交易在支付宝系统中的交易流水号");
        $alipayTradeAppPayApiOutParam_1->setDesc("");
        $alipayTradeAppPayApiOutParam_1->setIsMust(1);
        $alipayTradeAppPayApiOutParam_1->setIsListType(false);
        $alipayTradeAppPayApiOutParam_1->setFullParamName("tradeNo");
        $alipayTradeAppPayApiOutParam_1->setEnName("trade_no");
        $alipayTradeAppPayApiOutParam_1->setChilds("");
        $alipayTradeAppPayApiOutParamChilds[] = json_decode($alipayTradeAppPayApiOutParam_1->getBizContent());

        $alipayTradeAppPayApiOutParam_2 = new ApiParamModel();
        $alipayTradeAppPayApiOutParam_2->setBaseType($alipayTradeAppPayApiOutParam_2::$TYPE_BASETYPE);
        $alipayTradeAppPayApiOutParam_2->setTitle("该笔订单的资金总额");
        $alipayTradeAppPayApiOutParam_2->setDesc("单位为RMB-Yuan。取值范围为[0.01，100000000.00]，精确到小数点后两位。");
        $alipayTradeAppPayApiOutParam_2->setIsMust(1);
        $alipayTradeAppPayApiOutParam_2->setIsListType(false);
        $alipayTradeAppPayApiOutParam_2->setFullParamName("totalAmount");
        $alipayTradeAppPayApiOutParam_2->setEnName("total_amount");
        $alipayTradeAppPayApiOutParam_2->setChilds("");
        $alipayTradeAppPayApiOutParamChilds[] = json_decode($alipayTradeAppPayApiOutParam_2->getBizContent());

        $alipayTradeAppPayApiOutParam_3 = new ApiParamModel();
        $alipayTradeAppPayApiOutParam_3->setBaseType($alipayTradeAppPayApiOutParam_3::$TYPE_BASETYPE);
        $alipayTradeAppPayApiOutParam_3->setTitle("收款支付宝账号对应的支付宝唯一用户号");
        $alipayTradeAppPayApiOutParam_3->setDesc("  以2088开头的纯16位数字");
        $alipayTradeAppPayApiOutParam_3->setIsMust(1);
        $alipayTradeAppPayApiOutParam_3->setIsListType(false);
        $alipayTradeAppPayApiOutParam_3->setFullParamName("sellerId");
        $alipayTradeAppPayApiOutParam_3->setEnName("seller_id");
        $alipayTradeAppPayApiOutParam_3->setChilds("");
        $alipayTradeAppPayApiOutParamChilds[] = json_decode($alipayTradeAppPayApiOutParam_3->getBizContent());

        $alipayTradeAppPayInfoModel->setApiOutParam($alipayTradeAppPayApiOutParamChilds);

        $list[] = json_decode($alipayTradeAppPayInfoModel->getBizContent());
    
        echo json_encode($list,JSON_UNESCAPED_UNICODE);


?>